kyub@discuss.tchncs.de to Programmer Humor@programming.devEnglish · edit-219 days agoThe infamous "if loop" actually existsdiscuss.tchncs.deimagemessage-square30fedilinkarrow-up1194arrow-down113file-text
arrow-up1181arrow-down1imageThe infamous "if loop" actually existsdiscuss.tchncs.dekyub@discuss.tchncs.de to Programmer Humor@programming.devEnglish · edit-219 days agomessage-square30fedilinkfile-text
minus-squareKacarott@aussie.zonelinkfedilinkarrow-up16·19 days agoBut what is it in reference to? What’s the “infamous if loop”?
minus-squarekyub@discuss.tchncs.deOPlinkfedilinkEnglisharrow-up12·19 days ago“Infamous” just refers to newbies who sometimes call if statements “if loops”. I’ve heard this quite a bit.
minus-squareaMockTie@lemmy.worldlinkfedilinkarrow-up49·19 days agoAh, I believe that would be from a college course.
minus-squareulterno@programming.devlinkfedilinkEnglisharrow-up9·19 days agoI always wondered why I always had a hard time making developers not call “if” a “loop”. Turns out it was on their tests. Glad I didn’t read my college material, or I would have lost faith in my college professors.
minus-squareNigelFrobisher@aussie.zonelinkfedilinkarrow-up4·19 days agoIt just occurred to that in Yorkshire dialect a while loop would actually be an until loop. Directives to the rescue!
minus-squareAliasVortex@lemmy.worldlinkfedilinkEnglisharrow-up3arrow-down3·19 days agodeleted by creator
But what is it in reference to? What’s the “infamous if loop”?
“Infamous” just refers to newbies who sometimes call if statements “if loops”. I’ve heard this quite a bit.
Ah, I believe that would be
from a college course.
I always wondered why I always had a hard time making developers not call “if” a “loop”.
Turns out it was on their tests.
Glad I didn’t read my college material, or I would have lost faith in my college professors.
It just occurred to that in Yorkshire dialect a while loop would actually be an until loop. Directives to the rescue!
deleted by creator