Probably not a good title to seek upvotes. If it does get upvotes, more programmers get share in your pain πŸ˜…

1 point

You… grinds teeth may… have a point.

permalink
report
reply
142 points

I thought the joke here was that your unbalanced parentheses would make me angry (they did))

permalink
report
reply
30 points

… is that not the point of the title?

permalink
report
parent
reply
4 points

I clicked into the post expecting more text and then realized that was the joke.

Congrats OP, I am both upset and entertained!

permalink
report
parent
reply
83 points

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?

permalink
report
reply
3 points
*

Tinder MMO huh? You may be onto something…
But, if you want my opinion, I want 15%

permalink
report
parent
reply
72 points

[Object object]

permalink
report
reply
29 points

permalink
report
parent
reply
15 points

Actually it’s [object Object]

permalink
report
parent
reply
10 points

Ah, piss. So it is.
I’m going to blame it on autocorrect, even though we both know I just got it wrong

permalink
report
parent
reply
3 points

It’s fine, we all know what you meant.

permalink
report
parent
reply
58 points

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.

permalink
report
reply
21 points

A haiku for you:

Tabs or four spaces

Never a semicolon

Broken in spirit

permalink
report
parent
reply
13 points

What if you use tabs for indentations and space for alignment?

permalink
report
parent
reply
9 points

It’s alright… but have you considered spaces for indentation and tabs for alignment?

permalink
report
parent
reply
3 points

Uh, that would be infuriating to see. (Yes, I can see tabs in KDE Kate)

permalink
report
parent
reply
5 points

I feel like this is a debate that doesn’t exist - 4 spaces bound to tab is the only actual answer.

permalink
report
parent
reply
11 points

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

permalink
report
parent
reply
1 point
*

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*

permalink
report
parent
reply
6 points

Hard tabs are much better as someone who works with an age diverse team where vision issues are a serious issue. Four space tabs are optimal for you but there are other lived experiences.

permalink
report
parent
reply
4 points

For python, see which one they use and secretly replace a single indentation with the other.

permalink
report
parent
reply
2 points

Tabs set at 1 space.

permalink
report
parent
reply
1 point

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?

permalink
report
parent
reply
2 points

A few languages force a decision (usually towards tabs), but otherwise it’s just a question of aesthetics vs. accessibility.

permalink
report
parent
reply
3 points

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.

permalink
report
parent
reply
1 point

Makefiles require tabs. Spaces don’t work. I hate it.

permalink
report
parent
reply

Programmer Humor

!programmer_humor@programming.dev

Create post

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics

Community stats

  • 8.5K

    Monthly active users

  • 1.2K

    Posts

  • 45K

    Comments