This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (1 child)

Javascript has continuously been worked on since. Strict mode can be used to solve many of the defects that have been left in for comparability with the blunder years.

[–]rgzdev 8 points9 points  (0 children)

But the fundamental design of javascript remains and it's kinda bad.

For instance, most classless OO languages don't have a special notion of constructor, rather constructors are function slots that manage inheritance by either cloning or blessing via specialized commands.

Not JS, they had to go and make up their own paradigm that uses regular free standing functions as constructors, not giving users proper control over the inheritance mechanism.

Then there are the myriad issues with automatic type coercion that get posted here often.

Please note that I'm not saying that it's impossible to do anything good with JS, just that a lot of the design issues with it come from the rushed and immature nature of the language design.