this post was submitted on 28 Feb 2024
650 points (100.0% liked)

Programmer Humor

22921 readers
76 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 2 years ago
MODERATORS
650
wait what (pawb.social)
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 102 points 1 year ago (17 children)

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.

[–] [email protected] 3 points 1 year ago (2 children)

Too much waste of space imo, func(arg1,arg2) or 1+2 is faster to write and to read.

[–] [email protected] 11 points 1 year ago (1 children)
[–] [email protected] 2 points 1 year ago

Whyusemanywordwhenfewworddotrick?

load more comments (14 replies)