kyub@discuss.tchncs.de to Programmer Humor@programming.devEnglish · 1 year agoThe infamous "if loop" actually existsdiscuss.tchncs.deexternal-linkmessage-square30linkfedilinkarrow-up1195arrow-down113file-text
arrow-up1182arrow-down1external-linkThe infamous "if loop" actually existsdiscuss.tchncs.dekyub@discuss.tchncs.de to Programmer Humor@programming.devEnglish · 1 year agomessage-square30linkfedilinkfile-text
minus-squaremarcos@lemmy.worldlinkfedilinkarrow-up40·1 year agoint main() { useless: int x = 10; if (1) { goto useless; } }
minus-squarexmunk@sh.itjust.workslinkfedilinkarrow-up26·1 year 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!