moosetwin@lemmy.dbzer0.com to 196@lemmy.blahaj.zoneEnglish · edit-25 months agoAntimemes rulelemmy.dbzer0.comimagemessage-square32fedilinkarrow-up1101arrow-down10cross-posted to: antimeme@lemmy.world
arrow-up1101arrow-down1imageAntimemes rulelemmy.dbzer0.commoosetwin@lemmy.dbzer0.com to 196@lemmy.blahaj.zoneEnglish · edit-25 months agomessage-square32fedilinkcross-posted to: antimeme@lemmy.world
minus-squareamotio@lemmy.worldlinkfedilinkarrow-up12·5 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-squareHawk@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up2·5 months agoWon’t even compile in languages like Go though
minus-squareamotio@lemmy.worldlinkfedilinkarrow-up4·5 months agoGood thing I dont use Go. Primarly php for work, c# for hobby racing game in unity.
minus-squaregandalf_der_12te@feddit.delinkfedilinkarrow-up1·edit-25 months agowhile (x == y) { func1(); func2(); } notice the newline
minus-squareSunoc@sh.itjust.workslinkfedilinkarrow-up1·5 months agoThis! Similar journey for me going from K&R to GNU!
I was for long a long time using Kernighan style, but recently switched to Allman. Everything is suddenly more readable. It’s a journey.
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
This! Similar journey for me going from K&R to GNU!