Anders Rytter Hansen@rytter.me to Programmer Humor@lemmy.ml · 3 years agoWhen your code works, but you don't know how rytter.meimagemessage-square17linkfedilinkarrow-up1479arrow-down114file-text
arrow-up1465arrow-down1imageWhen your code works, but you don't know how rytter.meAnders Rytter Hansen@rytter.me to Programmer Humor@lemmy.ml · 3 years agomessage-square17linkfedilinkfile-text
minus-squarekamenlady@lemmy.worldlinkfedilinkarrow-up6·3 years agoif ( “a” == “a” ) { // i swear i saw this somewhere }
minus-square𝘋𝘪𝘳𝘬@lemmy.mllinkfedilinkarrow-up7·3 years agoI once did const theNumber = 4 in a function (and then took a second, actually random, number and compared it to theNumber). In the comment to the function I actually referenced https://xkcd.com/221/.
if ( “a” == “a” ) { // i swear i saw this somewhere }
I once did
const theNumber = 4in a function (and then took a second, actually random, number and compared it totheNumber).In the comment to the function I actually referenced https://xkcd.com/221/.