moosetwin to [email protected]English • edit-211 months agoAntimemes rulelemmy.dbzer0.comimagemessage-square33fedilinkarrow-up1215arrow-down18cross-posted to: antimeme
arrow-up1207arrow-down1imageAntimemes rulelemmy.dbzer0.commoosetwin to [email protected]English • edit-211 months agomessage-square33fedilinkcross-posted to: antimeme
minus-square@amotiolink31•11 months agoI was for long a long time using Kernighan style, but recently switched to Allman. Everything is suddenly more readable. It’s a journey.
minus-square@[email protected]linkfedilinkEnglish3•11 months agoWon’t even compile in languages like Go though
minus-square@amotiolink5•11 months agoGood thing I dont use Go. Primarly php for work, c# for hobby racing game in unity.
minus-square@[email protected]linkfedilink3•edit-211 months agowhile (x == y) { func1(); func2(); } notice the newline
I was for long a long time using Kernighan style, but recently switched to Allman. Everything is suddenly more readable. It’s a journey.
This! Similar journey for me going from K&R to GNU!
Won’t even compile in languages like Go though
Good thing I dont use Go. Primarly php for work, c# for hobby racing game in unity.
while (x == y) { func1(); func2(); }
notice the newline
Bruh