kyub@discuss.tchncs.de to Programmer Humor@programming.devEnglish · edit-22 days agoThe infamous "if loop" actually existsdiscuss.tchncs.deexternal-linkmessage-square25fedilinkarrow-up1162arrow-down19file-text
arrow-up1153arrow-down1external-linkThe infamous "if loop" actually existsdiscuss.tchncs.dekyub@discuss.tchncs.de to Programmer Humor@programming.devEnglish · edit-22 days agomessage-square25fedilinkfile-text
minus-squaremarcos@lemmy.worldlinkfedilinkarrow-up36·edit-21 day agoint main() { useless: int x = 10; if (1) { goto useless; } }
minus-squarexmunk@sh.itjust.workslinkfedilinkarrow-up21·1 day 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.