Probably not a good title to seek upvotes. If it does get upvotes, more programmers get share in your pain ๐
I thought the joke here was that your unbalanced parentheses would make me angry (they did))
I have this great idea for an app, we can go 70/30 on it! 70 for me because the idea is the hardest part after all. So basically itโs Twitter plus Facebook plus Tinder with a built in MMO. You can get that done in a couple weeks, should be pretty easy right?
[Object object]
Ah, piss. So it is.
Iโm going to blame it on autocorrect, even though we both know I just got it wrong
Figure out if they prefer spaces or tabs, insist on the other.
Please note this wonโt work on Pythonistas as theyโve already had their spirit thoroughly broken.
Itโs alrightโฆ but have you considered spaces for indentation and tabs for alignment?
I feel like this is a debate that doesnโt exist - 4 spaces bound to tab is the only actual answer.
most things seem to have settled on this, but tabs are so much better for accessibility. programmers with bad vision can have trouble differentiating smaller indentation levels, while some of them just bump the font size up so high that 4 spaces takes up too much screen space. each one can set a tab width that is comfortable for them. https://alexandersandberg.com/articles/default-to-tabs-instead-of-spaces-for-an-accessible-first-environment/ has some good arguments
with a forced formatter and a configured editor there really isnโt any argument for spaces
I remember people arguing over 2 vs 3 spaces, back when terminals only displayed 80 characters and every character width saved was a huge deal. (Oh god, memories of all the single-character variable names have returned to haunt me)
I canโt go back, wonโt go back. I am so glad the Bad Old Days are over. *returns to coding on my dual-widescreen monitor setup*
Iโve only ever heard raging between the two, but never why. Iโm guessing there were competing languages with different standards, or maybe historic hardware limiting input sets that kicked this debate off or?
A few languages force a decision (usually towards tabs), but otherwise itโs just a question of aesthetics vs. accessibility.
I see.
My worst experience was with spaces in code from an engineering professor who used a non-monospace typefont. Sadist. Though it was comic sans, they were probably just dyslexic. Despite the class focusing on numerical methods, we had to hand write Matlab code on paper using proper syntax. I have no clue why. Never learned much numerical method, nor were we ever allowed to use Matlab except on a few โprojectsโ during the term. I found out about the spaces when i had to debug his example code he gave as solutions(which we were graded against). I saw errors and had to confirm i wasnโt losing my mind. โฆI wasnโt. Anyways there was a mix of spaces and tabs to align the comic sans.
TLDR: I couldnโt care less. Just donโt code in word, and use a monospace font.
You guys are too slow, we need to hire more of you and let the sales teams use AI to add features the client asks without waiting for you.
AI can code now, in 2 mins I can create an app, so it shouldnโt take you long to make changes to this 10year old product.