Nope. Use it very often, though mostly usually with typescript.
Raw Javascript becomes a massive hindrance in any project past half a dozen files and 1000 lines.
Typescript makes it a lot more usable.
Nope. Use it very often, though mostly usually with typescript.
Raw Javascript becomes a massive hindrance in any project past half a dozen files and 1000 lines.
Typescript makes it a lot more usable.
It is an overused joke, but it doesn’t make it any less true.
Being easy to understand is one of the primary goals of any programming languages.
The problem with Javascript is that it isn’t easy to understand. Javascript is easy to write.
That’s why it’s easy for novices to pick up and why it ends up being spaghetti code. It’s very unrestrictive and allows writing very poor code that works based on assumptions and breaks when the assumptions aren’t met.
It made sense at the time because it was just a scripting language for some minor website things, and you didn’t want your site to crash if your script ran into a problem.
Now it’s being used to write full fledged applications and it’s past design choices are still haunting it.
Yeah, I really don’t know what widely used language is worse than Javascript besides php (which is hardly used in new projects).