coja@lemmy.ml to Programmer Humor@lemmy.ml · 1 year agoFind yourselflemmy.mlimagemessage-square108fedilinkarrow-up1661arrow-down129
arrow-up1632arrow-down1imageFind yourselflemmy.mlcoja@lemmy.ml to Programmer Humor@lemmy.ml · 1 year agomessage-square108fedilink
minus-squarePythonlinkfedilinkarrow-up2·1 year agoI mean… that’s JavaScript. Why would I need a function like that in JavaScript to begin with? And why would I trust my fellow Coworkers to not fuck up the input validation on it? 9 all the way baby
minus-squarePythonlinkfedilinkarrow-up1·1 year agoAlthough I would probably shorten it to ‘return x>y’ instead of that if/else block.
I mean… that’s JavaScript. Why would I need a function like that in JavaScript to begin with? And why would I trust my fellow Coworkers to not fuck up the input validation on it? 9 all the way baby
Although I would probably shorten it to ‘return x>y’ instead of that if/else block.