Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
That's a common issue when you have algorithms that iterate over a floating point interval (integration comes to mind). You either use steps of 1/8, 1/16 etc., that is the fastest solution. Or if you absolutely need 0.1, 0.01 etc. as steps, you take an integer as loop variable, and in the loop, you cast it to float and divide it by 10.0, 100.0 etc.
Also because there's a lot more js developers.
Btw, I'm not saying js developers are less competent or whatever, just that on average, they are less aware of low level stuff.
Your Job Suck?
Take a quick quiz from Triplebyte to skip the job search hassles and jump to final interviews at hot tech firms
Get a Better Job