this post was submitted on 28 Aug 2024
528 points (97.3% liked)

Programmer Humor

32710 readers
238 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] meekah 2 points 4 months ago (6 children)
[–] [email protected] 9 points 4 months ago (5 children)

Tabs > spaces

Tabs does allow you to set the spacing you need.
Spaces are like hardcoding passwords

[–] meekah 4 points 4 months ago (4 children)

Yeah, tabs are larger spaces, what's your point?

/s

You may be right, but I still have an unreasonable hate for tabs in code

[–] fluckx 5 points 4 months ago

Tabs for indenting and spaces for aligning. There. Everybody wins and loses.

This way the code always looks aligned and if you prefer 4 spaces for a tab instead of 2 or 3 or 8 you can just set it in your IDE.

Crisis averted!

load more comments (3 replies)
load more comments (3 replies)
load more comments (3 replies)