@kyub@discuss.tchncs.de to Programmer Humor@programming.devEnglish • edit-21 month agoThe infamous "if loop" actually existsdiscuss.tchncs.deimagemessage-square30fedilinkarrow-up1197arrow-down113file-text
arrow-up1184arrow-down1imageThe infamous "if loop" actually existsdiscuss.tchncs.de@kyub@discuss.tchncs.de to Programmer Humor@programming.devEnglish • edit-21 month agomessage-square30fedilinkfile-text
minus-square@Kacarott@aussie.zonelinkfedilink17•1 month agoBut what is it in reference to? What’s the “infamous if loop”?
minus-square@aMockTie@lemmy.worldlinkfedilink51•1 month agoAh, I believe that would be from a college course.
minus-square@ulterno@programming.devlinkfedilinkEnglish10•1 month 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-square@NigelFrobisher@aussie.zonelinkfedilink4•1 month agoIt just occurred to that in Yorkshire dialect a while loop would actually be an until loop. Directives to the rescue!
minus-square@kyub@discuss.tchncs.deOPlinkfedilinkEnglish12•1 month ago“Infamous” just refers to newbies who sometimes call if statements “if loops”. I’ve heard this quite a bit.
But what is it in reference to? What’s the “infamous if loop”?
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!
“Infamous” just refers to newbies who sometimes call if statements “if loops”. I’ve heard this quite a bit.
deleted by creator