2026-10-25 01:13 UTC
Tabs are better than spaces
Replies (5)
-
@PattyMcB@lemmy.world 2026-10-25 01:19
Ooh… good one, but any good IDE and/or source control will convert tabs to spaces anyway.
-
@danhab99@programming.dev 2026-10-25 02:02
Tab chars are better than spaces AND the correct tab width is 2 spaces
-
@goatinspace@feddit.org 2026-10-25 02:02
Imagine a programming language not compiling because of spaces.
-
@Quetzalcutlass@lemmy.world 2026-10-25 06:07
Want to know something horrendous? Odin, my current favorite language, recommends mixing tabs and spaces in their style guide. What’s worse, their justification actually makes sense.
-
@Equinox1289@sh.itjust.works 2026-10-26 02:07
I think text editors should handle it and convert between the two when convenient.