kyub@discuss.tchncs.de to Programmer Humor@programming.devEnglish · edit-223 days agoThe infamous "if loop" actually existsdiscuss.tchncs.deexternal-linkmessage-square29fedilinkarrow-up195arrow-down110file-text
arrow-up185arrow-down1external-linkThe infamous "if loop" actually existsdiscuss.tchncs.dekyub@discuss.tchncs.de to Programmer Humor@programming.devEnglish · edit-223 days agomessage-square29fedilinkfile-text
minus-squaremarcos@lemmy.worldlinkfedilinkarrow-up24·edit-223 days agoint main() { useless: int x = 10; if (1) { goto useless; } }
minus-squarexmunk@sh.itjust.workslinkfedilinkarrow-up18·23 days agoYea, I saw C style and was disappointed when it didn’t abuse gotos.
Yea, I saw C style and was disappointed when it didn’t abuse gotos.
This is the real way!