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
[-] reverendsteveii@lemm.ee 4 points 1 year ago

Honestly I think it's just "spaces before open parens" and at least it's consistent. K&R, which I use, wants spaces before the parens in conditionals and loops but not in method sigs or method calls and the linter at work gets me almost every time I type the word "if".

[-] Bienenvolk@feddit.de 1 points 1 year ago

Fair enough if the GNU dudes valued consistent spacing more than taking function calls as one "logical block". Not my cup of tea but that's what configurable auto formatting is for.

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

196

17026 readers
735 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