Live data from Hacker News

OK -I'm convinced. How do I start programming in JavaScript?

news.ycombinator.com

1–10 of 17 posts

OK -I'm convinced. How do I start programming in JavaScript?

#1
I program in C and Python. My Python style is definitely imperative in general nature, but functional when I think that paradigm suits, and OO when I think that's appropriate. My colleagues say my programs are clean, clear, effective, efficient, and make their brains hurt.

I know squat about JavaScript.

I have a clean Ubuntu machine with a webserver. What's the most effective way to learn JavaScript?

I'm not looking for dark, arcane knowledge. I'm looking to write well-crafted code to accomplish meaningful tasks on web pages, as well as to solve small, on-the-fly problems, much as I currently use Python, AWK, and Bash.

Suggestions?

EDIT: Not trying to karma-whore here, but if no one upvotes the question it will disappear quickly and we won't get the collective HN wisdom. That would be a shame. Do you want a scape-goat comment?

Re: OK -I'm convinced. How do I start programming in JavaScript?

#4
post #3

Disclaimer: noob here. I found this interesting (and perhaps you're ready to unleash the functional programming already) http://eloquentjavascript.net/contents.html

Thanks. I see by the purple links that I've already skimmed a couple of pages of this, so that's encouraging.

Re: OK -I'm convinced. How do I start programming in JavaScript?

#6
post #3

Disclaimer: noob here. I found this interesting (and perhaps you're ready to unleash the functional programming already) http://eloquentjavascript.net/contents.html

Eloquent js was recommended in this HN thread: http://news.ycombinator.com/item?id=2016334

Crockford, 2008, JavaScript: The Good Parts received higher recommendations there. Crockford has a js resouces page: http://javascript.crockford.com/

I guess from I'm looking to write well-crafted code to accomplish meaningful tasks on web pages you are interested in client side, and from solve small, on-the-fly problems, much as I currently use Python, AWK, and Bash also server side. In that thread I linked to, vladd recommends keeping client-side and server-side js programming apart. To be honest, I don't really get why server-side js is so popular, but in any case, I recommend starting with client side.

Aside - I think it's OK to raise this question again, because AFAICS, no one has raised it as an Ask HN post, so this should be more focussed than the thread I cited.

Re: OK -I'm convinced. How do I start programming in JavaScript?

#7
post #6
post #3

Disclaimer: noob here. I found this interesting (and perhaps you're ready to unleash the functional programming already) http://eloquentjavascript.net/contents.html

Eloquent js was recommended in this HN thread: http://news.ycombinator.com/item?id=2016334 Crockford, 2008, JavaScript: The Good Parts received higher recommendations there. Crockford has a js resouces page: http://javascript.crockford.com/ I guess from I'm looking to write well-crafted code to accomplish meaningful tasks on web pages you are interested in client side, and from solve small, on-the-fly problems, much…

Crockford did an OReilly video series that's pretty good at filling in gaps as well.
Post reply on HN