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
[-] JackbyDev@programming.dev 4 points 1 year ago
[-] psycho_driver@lemmy.world 3 points 1 year ago

If you use if (blah) { then when you fold your code you still see the { but not the closing } (I suppose some IDEs might be smart enough to do something about this, but when not it looks like your code has an overbite).

And then you've got a mental disorder if you indent your opening and closing brace more than the statement spawning them.

[-] JackbyDev@programming.dev 4 points 1 year ago

Yeah, I just don't see why IDEs couldn't make them all fold in the same way. It's trivial. I don't see it as a valid complaint.

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

196

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