The single redeeming feature of Oxygen is that it's pretty much everywhere, and yeah sure we can all breathe it and don't have any other choices for gases to breathe. If it wasn't for that fact I doubt anyone would care much for it.
Ok, I'm paraphrasing and extending what you said to make my point... Javascript being in every browser, to the exclusion of all other languages, is a huge factor in its popularity and utility, and it's the main driving force towards improving the language. If Javascript didn't become the in-browser language, it probably wouldn't have existed at all. Instead we'd have some other small language with similar design flaws, or maybe Perl would have been adopted as the in-browser language. At the time it was the main language for server-side web development, it was already embeddable and used for in-app scripting (like Lua is today), and I recall a browser extension for Netscape that let you use it instead of Javascript. IE, of course, would only have had VBScript.
Pick your poison.
The parent comment said "Javascript is a bad language but it's incredibly useful because it's in every browser." and you just agreed with him after writing a bunch of sarcastic drek.
>The single redeeming feature of JS is that it's implemented in all current browsers. If it wasn't for that fact I doubt anyone would have cared much.
>Everything it can do another language can do better, except run in a browser
That's the exact opposite of dismissing a key aspect of Javascript's value, that's explicitly acknowledging it.
>I can't think of any other language that has that level of flexibility. Can you?
(Subjective opinion here)- I think Lua got it better; you can create a better object oriented program with it, as you can do it with functional style; Ending with a more elegant final source code down the road
Well that's both subjective and ambiguous (subjective in the evaluation of quality in each area, and ambiguous because the meaning of "better at a and b" can be interpreted in a number of ways, such as max by min(a,b), max by average(a,b), etc.
But, given that, I'd say that several of the listed languages are better at "being both a functional and object oriented language" than JavaScript, including Scala and Ruby.
All over. Various functional approaches are basic core Ruby programming techniques.
Its not a great FP language because it lacks functional purity (like most Lisps, and, more to the immediate point, like JS) and the main Ruby implementations lack TCO (as, again, do many Lisps and, again, JS.)
But there's certainly a lot Ruby code using functional style.
Worse is better, sorry.
The single redeeming feature of JS is that it's implemented in all current browsers. If it wasn't for that fact I doubt anyone would have cared much.
It's just nowhere near as good as current alternatives for application development. Everything it can do another language can do better, except run in a browser - which is entirely out of control of the other languages so somewhat of a moot point.