Re:JavaScript for People Who Hate JavaScript
by coldtea on Wednesday August 09, 2017 @03:29PM
(#14972723)
>In any case, I'd argue that converting a 64-bit float into a 16-bit integer is a much different class of problem from mixing up assignment and comparison operators.
Is it though? Because in the end it's the same issue of conversion between types (coercion vs casting, but still).
"Besides, they do rockets in C just as well (with certain rules)."
Yes, they do. Those "certain rules" are codified in the MISRA C standard (or derivatives thereof, like with the JPL and JSF coding standards). Said standard is way more strict than the sort of thing normally implied by "C programming".