Why Javascript is a Joy
-
Yes, Javascript can be surprisingly elegant yet completely infuriating, and all on the same line of code; for a long time, it remained the joke of the programming community, the deranged cousin that outuglied even the likes of PHP and Perl. Nowadays, JS is the language in the spotlight. Here’s my attempt to collate exactly why I like working with Javascript.
4 reasons why JavaScript is awesome.
-
Yes, Javascript can be surprisingly elegant yet completely infuriating, and all on the same line of code; for a long time, it remained the joke of the programming community, the deranged cousin that outuglied even the likes of PHP and Perl. Nowadays, JS is the language in the spotlight. Here’s my attempt to collate exactly why I like working with Javascript.
4 reasons why JavaScript is awesome.
Javascript was never intended for what it is now used for in the web. First of all it does not play well with HTML/XML. The "<" and ">" should not have been used in the language syntax. Could have used soemthing like PowerScripts ".lt" and ".gt". Anything in the syntax that was not be incompatible with XML. Second it is C-like but not. It should be much closer to C if it is going to be C like, and being C like would have made it easier for all the Java and C# (and C++) programmers out there. It does provide a lot of power, which is good, but any programming language could have once it had been limited to what made sense.