kyub@discuss.tchncs.de to Programmer Humor@programming.devEnglish · edit-21 day agoThe infamous "if loop" actually existsdiscuss.tchncs.deimagemessage-square22fedilinkarrow-up1153arrow-down19file-text
arrow-up1144arrow-down1imageThe infamous "if loop" actually existsdiscuss.tchncs.dekyub@discuss.tchncs.de to Programmer Humor@programming.devEnglish · edit-21 day agomessage-square22fedilinkfile-text
minus-squaremarcos@lemmy.worldlinkfedilinkarrow-up36·edit-222 hours agoint main() { useless: int x = 10; if (1) { goto useless; } }
minus-squarexmunk@sh.itjust.workslinkfedilinkarrow-up22·21 hours 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.