anders to Programmer [email protected] • 1 year agoWhen your code works, but you don't know how rytter.meimagemessage-square20fedilinkarrow-up1477arrow-down114file-text
arrow-up1463arrow-down1imageWhen your code works, but you don't know how rytter.meanders to Programmer [email protected] • 1 year agomessage-square20fedilinkfile-text
minus-square𝘋𝘪𝘳𝘬linkfedilink7•1 year 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 = 4
in 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/.