this post was submitted on 17 Jun 2023
57 points (100.0% liked)

Programmer Humor

32223 readers
19 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
[–] demonen@lemmy.ml 12 points 1 year ago (5 children)

I use tabs because I prefer 4-space indents and others might prefer 2-space indentation or the gross and unacceptable 6-space indentation.

If more than one person is working on a code base, there will likely be more than one preference, and with tabs everyone gets to just set their own tab width.

Yes, even the 3-space savages.

[–] PeterPoopshit@lemmy.ml -1 points 1 year ago* (last edited 1 year ago) (1 children)

It's OK, I replace all the tabs with spaces for uniformity. Tabs are stupid and they mess things up when I paste stuff. I like to watch the world burn.

[–] edward@lemmy.ml 1 points 1 year ago* (last edited 1 year ago)

Imagine not having an IDE that automatically fixes the spacing of pasted text.

load more comments (3 replies)