this post was submitted on 28 Feb 2024
637 points (97.2% liked)
Programmer Humor
19503 readers
1169 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
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Edit: Bear with me while I sort out the difference between my display and the resulting code block. Ok, close enough.
Ok, thanks. I would instead (and prefer to ) do something like this:
In this case, the ">" are showing the tab stops and the "-" the resulting white space. Note how all the calls are lined up. (My preferred alignment style, not necessarily anyone else's.)
Yet another edit: I see that I missed addressing alignment on other than tab boundaries. To me, that's just sinful! ๐