OsrsNeedsF2P@lemmy.ml to Programmer Humor@programming.dev · 1 day agoparseInt(5)lemmy.mlexternal-linkmessage-square63fedilinkarrow-up1465arrow-down15
arrow-up1460arrow-down1external-linkparseInt(5)lemmy.mlOsrsNeedsF2P@lemmy.ml to Programmer Humor@programming.dev · 1 day agomessage-square63fedilink
minus-squaremiellaby@jlai.lulinkfedilinkarrow-up21arrow-down1·17 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.