4 ms·
Who cares about this stuff, when JavaScript/ECMAScript hasn't even a sane split function. And when will ECMAScript receive for each? Why hype new stuff when th
by tete 15y ago
Who cares about this stuff, when JavaScript/ECMAScript hasn't even a sane split function. And when will ECMAScript receive for each?
Why hype new stuff when the foundation isn't nice by now?
The only real reason for JavaScript being so popular is that web developers have to learn it.
However, I do admit JavaScript has a lot of potential. Just start on the bottom or you'll at some point have to break everything or live with annoying stuff.
I think OO is fine. If you want more there is Joose: http://code.google.com/p/joose-js/ http://code.google.com/p/joose-js/
... and other libraries. That way you don't have to care about making everyone happy.
Deliver a good foundation and the community will take care about the rest.
- peteretep 15y agoJavascript is also popular because it's FUN and FAST. I'm working on a project where I've been doing parsing of HTML in Perl and I'm ripping the guts out to do in an embedded V8 engine - has the added bonus that I'll also be able to deploy the guts to a browser. Getting up close and personal with Javascript changed how I programmed in other languages. Passing anonymous functions around, abusing map and grep functions (which are easily enough hacked in), and the knowledge that many people will be able to read and understand and contribute to your code...
- tete 15y agoOh and Node.js! I'm also coming from Perl and what I always liked is the huge variety of modules on CPAN. JSAN has been around for a while, but only recently both Node.js (npm) and JSAN had a nice growth.
- peteretep 15y agoI used to run a JSAN mirror back in the day - I had thought it was largely defunct :-/ As a Perl programmer for ~ 14 years, CPAN is what keeps you coming back to Perl over and over and over and over again...
- cageface 15y agoLike it or not Javascript is where the action is.
- tete 15y agoDid you even read my comment or the article? My statement wasn't about Javascript being popular or whether I like it, but about the fact that ground work is important because everything else depends on it.
- cageface 15y agoJavascript proves the contrary. You can be successful with a shoddy foundation if you promote well and find the right opportunities. For engineers that takes pride in doing things "right" this can be a hard pill to swallow, but, once again, worse is better. http://www.jwz.org/doc/worse-is-better.html http://www.jwz.org/doc/worse-is-better.html
- mmatants 15y agoWell, JavaScript's language features are actually not that shoddy. Better than PHP, that's for sure. I think what made JS (and PHP, too) great is not some PR trickery, but the fact that it is genuinely more useful in many situations. It is so simple, and excellent for exploratory coding. So to an engineer, there is no pride lost - it's a tool that fit a very good niche.