Re:JavaScript as default language and software stack
by mercurial on Thursday September 24, 2015 @02:41PM
(#10273664)
C++ wouldn't have been the first thing I'd compare JS to. Visual Basic, maybe?
But yeah, if you absolutely want a dynamic language, you have much saner choices with a considerably more robust ecosystem (hello Python).
> I'm sorry, but I don't want this future for programming.
I don't want this present either :)
Re:JavaScript as default language and software stack
by Touche on Thursday September 24, 2015 @02:37PM
(#10273631)
One thing JavaScript gets very right is first-class functions. There's nothing bolt-on about those. It makes it very easy to tolerate warts (which don't come up often anyways).
Re:JavaScript as default language and software stack
by douche on Thursday September 24, 2015 @02:40PM
(#10273658)
Piss poor string handling functions out of the box?
Shitty date/time implementations (unless you're using moment)
Callback hell?
That's just my list for this morning.
Re:JavaScript as default language and software stack
by Touche on Thursday September 24, 2015 @02:45PM
(#10273690)
> Piss poor string handling functions out of the box?
Don't know what you mean by this. As for the other things; like I said, getting first class functions right makes those other things unimportant. Are you running into the problems with DateTime that often? I can't even remember what those problems are. I don't doubt they exist, but I think you're over-inflating the importance.
Javascript is the C++ of web dev. You bolt a ton of things on top of a shitty language and you hope to obtain a slice of it that is decent in the long run. Except it's still going to be full of terrible quirks and 30 ways to shoot yourself.
I'm sorry, but I don't want this future for programming.