Is js bad? - The-Source-Eternal/Unwritten3D GitHub Wiki
Why js is bad
Kontrol
Using a loose type
Letting you compare 5 as a number and string to evaluate to true with == but not ===
Not requiring a semicolon except in some cases
Everything in JS is a floating point number stored in 64 bits, the biggest and laggiest way to store numbers. Even though that's the case, if you need to do bitshifting to get a color value from hexadecimal (like #ff0000 to red) then it converts the number to a 32 bit int, but the standards don't say things like how to round the number etc. It also means you cant do any floating point optimizations with bitshifting if you need them, despite the fact that JS represents all values as floating point numbers.