- lordmauve ( @lordmauve@programming.dev ) 14•8 months ago
This bullshit is why I use Pyrhon
- anti-idpol action ( @pkill@programming.dev ) 4•8 months ago
For concise, FP-style scripts it’s quite neat. For complex OO software? Pass
- gandalf_der_12te ( @gandalf_der_12te@feddit.de ) 12•8 months ago
Wir sind eine diskriminierungsfreie Gemeinschaft.
- AVincentInSpace ( @AVincentInSpace@pawb.social ) English8•8 months ago
Please add this to the list of things I will fight Richard Stallman about
- max ( @kittykittycatboys@lemmy.blahaj.zone ) 6•8 months ago
love wins !! <33
the paint bucket tolerance was too high before and fudged some of the text
- Wirlocke ( @Wirlocke@lemmy.blahaj.zone ) 4•8 months ago
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).
- Child Eater ( @ChildEater@iusearchlinux.fyi ) 3•8 months ago
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
- 1993_toyota_camry ( @1993_toyota_camry@beehaw.org ) 3•8 months ago
K&R has always seemed like home to me, but I agree that Allman is pretty alright
- Azzy ( @AzzyDev@beehaw.org ) 2•8 months ago
I 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•8 months ago
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.
- lugal ( @lugal@sopuli.xyz ) 1•8 months ago
Haskell style would be a recursive function
- Dragon ( @Dragon@lemmy.ml ) 1•7 months ago
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.