someone like Brendan Eich who should know better turn to the dark side
LOL, he inflicted Javascript upon the world. He never knew better and was always on the dark side.
JavaScript is a victim of its own popularity. It was originally meant to be scripting glue to do little actions in the browser while the real work was done in Java (LiveConnect) apps. But Java got jettisoned, JavaScript became more important and became the thing we love and hate today.
JavaScript is a victim of its own popularity.
No, that’s not the issue. If Javascript were well-designed we wouldn’t hate it, but it wasn’t.
Most of the examples listed there are issues that don’t affect real applications. It’s just garbage code, so the output ends up being garbage too. Programmers don’t write code like that, unless they are doing it as a joke. A few of those examples can be real issues sometimes, but they are not that big of a deal to an experienced JavaScript programmer.
It’s an imperfect language like any other.