by eagsalazar · 14y ago · 0 comments
On the other hand, this really sucks. Javascript is just maturing to where it is really awesome! And there is a ton of collaboration among app developers because javascript was the only game in town for so long.
Of course people will continue to collaborate but not, I fear, at the same level. 3rd party libraries will continue to be available, but not as many will fit in so neatly with people coding in other languages.
This has already come up a few times with coffeescript and in a couple years when it is truly easy for people to work in other languages, we'll have a tower of babel effect.
JS is really good. It isn't that hard to learn if you already know other languages. It has warts but it is also very powerful so often it is worth it (check out the lines of code and speed vs other languages):
I htink the pie is big enough for both NaCl and javascript apps.
It is, but you can also port existing applications to JS.
> I htink the pie is big enough for both NaCl and javascript apps.
It's a different pie. NaCl is chrome-only (and just enabled in the chrome store, in fact), while JS runs in all browsers.
You can't just port things to JavaScript the same way. JavaScript is a very different sort of language. "porting" something to JavaScript pretty much always means remaking the whole thing from ground up and hoping that your pixel pushing in canvas runs at an acceptable speed.
It is a crap language designed in an afternoon and nowhere near good enough to solve the problems we currently use it for.
Just a few things of my head: 'this', 'var', no integers, semicolons, no block scope.
There's no point in dismissing JS due to simple lexical issues; those have in no way prevented us from maturing the language use through idioms, patterns, tools and collective knowledge.
JS is more than good enough as a basis for CoffeeScript and Emscripten - so why should we care whether scope context or a lack of block scope can be initially confusing?
"No integers" is bad.
"this" can swing either ways. It provides some cool possibilities.
"semicolons" however (either the presence or the removal of) is a totally inconsequential and trivial syntactic thing.
Removing semicolons doesn't even buy you what a small amount of syntactic sugar buys you. You saved a few keystrokes. Big fucking deal.
If you think you could write better programs then write better programs and contribute them.