kyub@discuss.tchncs.de to Programmer Humor@programming.devEnglish · edit-219 days agoThe infamous "if loop" actually existsdiscuss.tchncs.deimagemessage-square7fedilinkarrow-up12arrow-down10
arrow-up12arrow-down1imageThe infamous "if loop" actually existsdiscuss.tchncs.dekyub@discuss.tchncs.de to Programmer Humor@programming.devEnglish · edit-219 days agomessage-square7fedilink
minus-squarebrian@programming.devlinkfedilinkarrow-up1·17 days agofound the following in our codebase the other day. while(booleanFlag) return; thhere wasn’t more in the loop body, that was it. the loop conditional does exist and it can hurt you.
found the following in our codebase the other day.
while(booleanFlag) return;
thhere wasn’t more in the loop body, that was it. the loop conditional does exist and it can hurt you.