this post was submitted on 10 Feb 2024
220 points (100.0% liked)

196

16925 readers
1477 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

If you have any questions, feel free to contact us on our matrix channel.

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 17 points 1 year ago (3 children)

Allman or gnu, rest are fucking bonkers

[–] [email protected] 16 points 1 year ago (2 children)

Putting the opening curly brace of a code block on the same line that defines the conditions the code block will run under is bonkers?

[–] [email protected] 6 points 1 year ago

There's an asymmetry to it that always left me uncomfortable.

[–] [email protected] 4 points 1 year ago

If we're judging purely on readability then I think Allman probably has the edge, here. You can see at a glance where the encasement starts or ends in a vertical column on the far left. Of course, that's a moot point if the programmer's color coding is set up to where it is obvious.

[–] [email protected] 15 points 1 year ago (1 children)
[–] [email protected] 3 points 1 year ago
[–] [email protected] 9 points 1 year ago* (last edited 1 year ago)

Lol, you deranged lunatic.