lordmauve ( @lordmauve@programming.dev ) 14•1 year agoThis bullshit is why I use Pyrhon
anti-idpol action ( @pkill@programming.dev ) 4•1 year agoFor concise, FP-style scripts it’s quite neat. For complex OO software? Pass
gandalf_der_12te ( @gandalf_der_12te@feddit.de ) 12•1 year agoWir sind eine diskriminierungsfreie Gemeinschaft.
AVincentInSpace ( @AVincentInSpace@pawb.social ) English8•1 year agoPlease add this to the list of things I will fight Richard Stallman about
max ( @kittykittycatboys@lemmy.blahaj.zone ) 6•1 year agolove wins !! <33
the paint bucket tolerance was too high before and fudged some of the text
Wirlocke ( @Wirlocke@lemmy.blahaj.zone ) 4•1 year agoI 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).
Child Eater ( @ChildEater@iusearchlinux.fyi ) 3•1 year agoI 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
1993_toyota_camry ( @1993_toyota_camry@beehaw.org ) 3•1 year agoK&R has always seemed like home to me, but I agree that Allman is pretty alright
Azzy ( @AzzyDev@beehaw.org ) 2•1 year agoI used Allman in my C# days and the spacing always felt weird to me since i came from java :(
Klara ( @boo_@lemmy.blahaj.zone ) 2•1 year agoI 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.
lugal ( @lugal@sopuli.xyz ) 1•1 year agoHaskell style would be a recursive function
Dragon ( @Dragon@lemmy.ml ) 1•1 year agoI’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.