This bullshit is why I use Pyrhon
196
Be sure to follow the rule before you head out.
Rule: You must post before you leave.
For concise, FP-style scripts it's quite neat. For complex OO software? Pass
Wir sind eine diskriminierungsfreie Gemeinschaft.
Please add this to the list of things I will fight Richard Stallman about
love wins !! <33
I feel like I'd use Allman for large blocks of code (though in those situations it's probably better to stick the code in a function first) and I'd use K&R for 1 or 2 lines of code (like calling a function).
the paint bucket tolerance was too high before and fudged some of the text
I was a K&R guy forever but I've been learning C++ recently (I know..) and I've found myself gravitating towards Allman more and more
K&R has always seemed like home to me, but I agree that Allman is pretty alright
I used Allman in my C# days and the spacing always felt weird to me since i came from java :(
I formatted all my C code in High School with the GNU style. I'm not sure my teacher even read the code :P
I mostly write Lisp today, but that GNU style still has a special place in my heart. As long as it's automatically formatted, I'm fine with whatever style, though.
I've never seen Haskell used, but it looks the most readable. I would consider using it if I didn't think it would piss off other devs.
Haskell style would be a recursive function