Re:JavaScript Structs
by leptons on Thursday October 10, 2024 @10:00PM
(#41805379)
Even if you think Javascript is already complicated, that isn't a reason to make it more complex.
[ Parent
| on HN ]
Complexity isn't bad. If you have a simple language and you have to something complicated then you still have complexity, it's just expressed differently and uniquely in every code base.
Java doesn't have unsigned integer types because that is "simpler" but that doesn't remove the need to deal with unsigned integers in file formats and network protocols. But now you have to do a convoluted mess of code to deal with that. I'll take a complex language that solves real problems over a "simple" language any day.