kyub@discuss.tchncs.de to Programmer Humor@programming.devEnglish · edit-26 天前The infamous "if loop" actually existsdiscuss.tchncs.deimagemessage-square27fedilinkarrow-up1190arrow-down112file-text
arrow-up1178arrow-down1imageThe infamous "if loop" actually existsdiscuss.tchncs.dekyub@discuss.tchncs.de to Programmer Humor@programming.devEnglish · edit-26 天前message-square27fedilinkfile-text
minus-squaremarcos@lemmy.worldlinkfedilinkarrow-up40·edit-26 天前int main() { useless: int x = 10; if (1) { goto useless; } }
minus-squarexmunklinkfedilinkarrow-up26·6 天前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!