kyub@discuss.tchncs.de to Programmer Humor@programming.devEnglish · edit-26 days agoThe infamous "if loop" actually existsdiscuss.tchncs.deimagemessage-square17fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1imageThe infamous "if loop" actually existsdiscuss.tchncs.dekyub@discuss.tchncs.de to Programmer Humor@programming.devEnglish · edit-26 days agomessage-square17fedilink
minus-squaremarcos@lemmy.worldlinkfedilinkarrow-up1·edit-26 days agoint main() { useless: int x = 10; if (1) { goto useless; } }
minus-squarexmunk@sh.itjust.workslinkfedilinkarrow-up1·6 days agoYea, I saw C style and was disappointed when it didn’t abuse gotos.
This is the real way!
Yea, I saw C style and was disappointed when it didn’t abuse gotos.