minus-squaremiellaby@jlai.lutoProgrammer Humor@programming.dev•parseInt(5)linkfedilinkarrow-up15arrow-down1·9 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. linkfedilink
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.