kyub@discuss.tchncs.de to Programmer Humor@programming.devEnglish · edit-29 days agoThe infamous "if loop" actually existsdiscuss.tchncs.deimagemessage-square28fedilinkarrow-up1176arrow-down111file-text
arrow-up1165arrow-down1imageThe infamous "if loop" actually existsdiscuss.tchncs.dekyub@discuss.tchncs.de to Programmer Humor@programming.devEnglish · edit-29 days agomessage-square28fedilinkfile-text
minus-squaremarcos@lemmy.worldlinkfedilinkarrow-up35·edit-29 days agoint main() { useless: int x = 10; if (1) { goto useless; } }
minus-squarexmunk@sh.itjust.workslinkfedilinkarrow-up22·9 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!