2026-10-25 06:07 UTC
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.
Replies (5)
-
@Archr@lemmy.world 2026-10-25 06:26
Fuck… They are right. This makes a lot of sense. Now I have to share this with everyone at work.
-
@LeapSecond@lemmy.zip 2026-10-25 07:31
Another unpopular opinion: this alignment style looks terrible and wastes space. If you want alignment just start the parameters in a new line.
-
@MarauderIIC@lemmy.zip 2026-10-25 08:22
Does that rule have autoformatting support? If not it’s a time waster anytime the parameters get refactored. I’m firmly in the camp of “machines do my formatting”
-
@Orygin@sh.itjust.works 2026-10-25 19:24
That’s how it’s always supposed to be. Tabs for indent, spaces for alignment. Languages that do not support this are trash
-
@GroundedGator@lemmy.world 2026-10-26 00:19
I used to do this and it absolutely makes sense. However, I’ve shifted to tabs only and have removed the need for alignment with newlines.