moosetwin@lemmy.dbzer0.com to 196@lemmy.blahaj.zoneEnglish · edit-210 months agoAntimemes rulelemmy.dbzer0.comimagemessage-square35fedilinkarrow-up1218arrow-down10cross-posted to: antimeme@lemmy.world
arrow-up1218arrow-down1imageAntimemes rulelemmy.dbzer0.commoosetwin@lemmy.dbzer0.com to 196@lemmy.blahaj.zoneEnglish · edit-210 months agomessage-square35fedilinkcross-posted to: antimeme@lemmy.world
minus-squareamotio@lemmy.worldlinkfedilinkarrow-up30·10 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-squareSunoc@sh.itjust.workslinkfedilinkarrow-up6·10 months agoThis! Similar journey for me going from K&R to GNU!
minus-squaregandalf_der_12te@feddit.delinkfedilinkarrow-up3·edit-210 months agowhile (x == y) { func1(); func2(); } notice the newline
minus-squareHawk@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up3·10 months agoWon’t even compile in languages like Go though
minus-squareamotio@lemmy.worldlinkfedilinkarrow-up5·10 months agoGood thing I dont use Go. Primarly php for work, c# for hobby racing game in unity.
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!
while (x == y) { func1(); func2(); }
notice the newline
Bruh
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.