io@piefed.blahaj.zone to Programmer Humor@programming.devEnglish · 9 days agowith a break statement right?piefed.cdn.blahaj.zoneimagemessage-square18fedilinkarrow-up126arrow-down10file-text
arrow-up126arrow-down1imagewith a break statement right?piefed.cdn.blahaj.zoneio@piefed.blahaj.zone to Programmer Humor@programming.devEnglish · 9 days agomessage-square18fedilinkfile-text
minus-squareSunoc@sh.itjust.workslinkfedilinkarrow-up0·9 days agoIt’s C, but the unusual look of having two semicolons is the reason why I prefer it over while (True). It feels more like “here is the weird part”.
minus-squaretoynbee@lemmy.worldlinkfedilinkarrow-up0·9 days agoGotcha, thank you. I mostly code in bash or python.
minus-squareTwilightKiddy@programming.devlinkfedilinkEnglisharrow-up1·8 days agoWell… for ((;;)) do # stuff done
It’s C, but the unusual look of having two semicolons is the reason why I prefer it over
while (True). It feels more like “here is the weird part”.Gotcha, thank you. I mostly code in bash or python.
Well…
for ((;;)) do # stuff done