10
submitted 4 months ago by [email protected] to c/[email protected]
top 2 comments
sorted by: hot top new old
[-] [email protected] 2 points 4 months ago

Alignment indentation like that makes my eyes bleed. Please never push an LoC further to the right than nesting would imply.

[-] [email protected] 1 points 4 months ago

Agreed, but I'm pretty sure the auto-formatters available do alignment indentation anyway as it is part of the style guides.

Otherwise, I think some of the lines have too much nesting and could be broken up, and the ifcond-then-else blocks aren't indented enough in the last example.

this post was submitted on 19 Mar 2025
10 points (100.0% liked)

Programmer Humor

37355 readers
175 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 6 years ago
MODERATORS