kyub@discuss.tchncs.de to Programmer Humor@programming.devEnglish · edit-28 个月前The infamous "if loop" actually existsdiscuss.tchncs.deimagemessage-square30linkfedilinkarrow-up1196arrow-down113file-text
arrow-up1183arrow-down1imageThe infamous "if loop" actually existsdiscuss.tchncs.dekyub@discuss.tchncs.de to Programmer Humor@programming.devEnglish · edit-28 个月前message-square30linkfedilinkfile-text
minus-squaremarcos@lemmy.worldlinkfedilinkarrow-up41·edit-28 个月前int main() { useless: int x = 10; if (1) { goto useless; } }
minus-squarexmunk@sh.itjust.workslinkfedilinkarrow-up27·8 个月前Yea, 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!