3 ms·
Do people actually like javascript, or just like the fact that it is de-facto always present in browsers due to its prevalence on the web (I could ask the same
by jacobscott 18y ago
Do people actually like javascript, or just like the fact that it is de-facto always present in browsers due to its prevalence on the web (I could ask the same question about flash). The vast majority of client-side js I look at is spaghetti. To be fair, I'm looking at random webpages, not jQuery tutorial websites.
- eyelidlessness 18y agoI like Javascript, and given the choice I'd use it server-side as well. It's an excellent language; very minimal, lends itself well to concise but powerful code, and can be made to do pretty much anything given a decent API. Most of the Javascript you look at is terrible because most of it is copypasted from tutorials dating back many years, when Javascript was, at best, not very well understood or known, and not the domain of serious applications. The modern libraries like jQuery and Prototype definitely exemplify how Javascript could be though.
- jrockway 18y agoActually, most JavaScript looks bad because of people cargo-culting bad DOM code. I don't really like Javascript, but I do agree that the core language is minimal but complete. I will stick with Lisp when I want that, though, because Lisp is nicer looking and has macros.
- eyelidlessness 18y ago(Suit() )yourself)))))))))))))()((() Just joshin'.
- PieSquared 18y agoJavascript is a nice language, but that won't decide much. I mean, look at Lisp. (Speaking of Lisp, I recently discovered reader macros. I mean, damn, but they're awesome.)