636
wait what (pawb.social)
submitted 7 months ago* (last edited 7 months ago) by crimsonpoodle@pawb.social to c/programmer_humor@programming.dev
you are viewing a single comment's thread
view the rest of the comments
[-] Traister101@lemmy.today 92 points 7 months ago

Tabs are objectively the better choice as it allows each dev individually to decide tab width in their editors. Spaces in contrast don't allow this same flexibility as they are used for much more than simply indentation, for example you likely put a space after each argument or operator IE func(arg1, arg2) or 1 + 2.

[-] zea_64@lemmy.blahaj.zone 17 points 7 months ago

Also, a lot of editors won't unindent on backspace of spaces indentation, so I end up messing up the indentation with a 3/4 indent

[-] expr@programming.dev 3 points 7 months ago

That just sounds like a shitty editor, tbh. Pretty basic functionality.

load more comments (3 replies)
load more comments (15 replies)
this post was submitted on 28 Feb 2024
636 points (97.2% liked)

Programmer Humor

19386 readers
372 users here now

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

founded 1 year ago
MODERATORS