OsrsNeedsF2P@lemmy.ml to Programmer Humor@programming.dev · 23 hours agoparseInt(5)lemmy.mlimagemessage-square59linkfedilinkarrow-up1430arrow-down15
arrow-up1425arrow-down1imageparseInt(5)lemmy.mlOsrsNeedsF2P@lemmy.ml to Programmer Humor@programming.dev · 23 hours agomessage-square59linkfedilink
minus-squaremiellaby@jlai.lulinkfedilinkarrow-up18arrow-down1·14 hours agoI’ve seen code in my workplace using parseInt to round JS Number. Made me cringe coming from system programing but I didn’t see the danger. It’s sad the only way to prevent such a bad code in production is to use transpilers.
I’ve seen code in my workplace using parseInt to round JS Number. Made me cringe coming from system programing but I didn’t see the danger.
It’s sad the only way to prevent such a bad code in production is to use transpilers.