>designated bikesheding thread
while x == y: func1() func2()Problem solved.
while x == y: func1() func2()
while(condFunc, trueFunc, falseFunc)
>>103221005Is this what keeps you up at night?
Haskell style ftw
in terms of being retarded none of these hold a candle to Bournegol
>>103221005Allerman is fine. GNU is a bit out there but acceptable. Everything else is just being heckin quirky for no reason.
>>103221005Allman and K+R are acceptable. The other ones are jokes.
>>103221168this
>>103221005Literally no one does Lisp style.
i dont know how to code
>>103221270literally every mathfag uses lisp style
>>103221005Allman is conventional for C#, K&R for Java. I use both.
>>103221005At my company if you don't format your code in LLVM the CI/CD will do it for you then tell you after a two hour CI/CD pipeline you're a retard and fail the pipeline.
imagine someone making a pr in haskell style. imagine a new hire joining and then creating a +10000 -9000 pr "refactor codebase to haskell style" i think theyd get fired immediately
>>103221005The Microsoft clangtidy prefix.
>>103221005Allman is very common in corporate codebases because is more consistent when dealing with multi line function signatures.
>>103221005C syntax is a mental disorder.>WHERE DO I PUT LE SPACEThat's what C "programmers" think about.
>>103221005I strongly prefer and use the one you got circled in green.If something is using anything else and I need to make changes, then I forcefully reformat the code to that style.
>>103221087based Python enjoyer
>>103221098It's just about the ugliest thing I've ever seen. What do you see in it?
>>103221005webchads:>let's discuss solutions to maintain a consistent database across multiple continents while minimizing transferssystem "programmers":>muh curly brackets
>>103221005allman for functions, k&r for everything else>but that's inconsistent!function blocks are fundamentally different - they can't be nested
>>103221005def niggerloop: if x == y: if y == x: func1() func2()niggerloop()niggerloop()niggerloop()...as many times as needed
def niggerloop: if x == y: if y == x: func1() func2()niggerloop()niggerloop()niggerloop()...
>>103221388Stallman is a mathfag and he uses GNU style
>>103221005I use GNU's because my retard brain often ignores the first bracket.
>>103223062it works great if you're using it in haskell. but it's obviously a joke in this context
>>103222885Python fucks it up by overcomplicating it. It should only allow tabs, one tab matching one block deeper
>>103221005> Horstmann? More like Worstmann
>>103221005>haskell styleYou're lying.
Horstmann is unironically the best
>>103221087K&R or GNU style, I'm a simple man.
while (x == y) {func1(); func2();}
introducing Perl, more K&R than K&R
>>103221005KR, Allman just looks ugly.