Probably not a good title to seek upvotes. If it does get upvotes, more programmers get share in your pain π
You⦠grinds teeth may⦠have a point.
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.