630
fixed rule (lemmy.blahaj.zone)
submitted 1 year ago by ambrosiaforest to c/196
you are viewing a single comment's thread
view the rest of the comments

I don't think they were disagreeing with you, I think they were just trying to say:

You shouldn't need braces to be vertically aligned if your code is uniformly indented. Then you can easily see what code is paired together just by their indentation level.

Of course this is not always true if you've got a bunch of crazy nested indentation pushing things off to the right.

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

196

17025 readers
738 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