which one are you? depending upon the correct choice you may be able to join my Grill / Barbecue else we can’t be friends 🤣
which one are you? depending upon the correct choice you may be able to join my Grill / Barbecue else we can’t be friends 🤣
@nixCraft I've read suckless and Linux kernel coding style, both are afaik promoting Allman for several reassons but I always prefer K&R for my personal prohects, anything else I stick with the coding style of the project
@nixCraft the one and true format K&R
@nixCraft if I get to pick the style, it's K&R for me. The saved vertical space increases the legibility of the code. I hate having to scroll to see the whole function.
I’m firmly Allman but K&R is also acceptable. Haskell has a certain charm but only if you used macros to replace the brackets.
@nixCraft I do K&R and Allman, depending on language and code base
@nixCraft K&R. GNU when I'm tired.
// Spacers
while(x==y){foo();bar();}