5 ms·
Maybe I'm just a douchebag, but isn't all that stuff in the "Javascript: The Definitive Guide" book? Read it once (at least the part that's focused on the langu
by snitko 17y ago
Maybe I'm just a douchebag, but isn't all that stuff in the "Javascript: The Definitive Guide" book? Read it once (at least the part that's focused on the language itself, not DOM) and you know it.
- pavel_lishin 17y agoAlso on the web, in a billion places. I'm always wary of people who are tweeking over Math.max - how could you not know that exists?
- sh1mmer 17y agoIf you spend any time at all researching Christian you'll find out he's written 2 books on JavaScript and contributed to several more, while speaking prolifically at conferences on the subject. As a colleague and friend of mine, I can tell you he's trying to be an educator and help other people become better coders. If that means he's aimed some stuff under a line for "good" that's because he's trying to help people get over that line.
- dpritchett 17y agoThe article gently suggests the importance of learning all you can about the math and string libraries. It's not meant to imply that the author discovered them only yesterday. "One thing that amazed me is how much easier my life got once I read up thoroughly on the math and string functions of JavaScript. You can use these to avoid a lot of looping and conditions."
- mixmax 17y agoRemember that everyone starts out as a beginner.
- axod 17y agoIf there's one book every js developer should get, it's that one.
- sh1mmer 17y agoIf there is one book every JS developer should get it's "The Good Parts". Completeness is not the same as 'bestness'. Doug's book tells you what you should know, Flannigan's book tells you what you can use.
- axod 17y agoI disagree 300%. "The good parts" is opinion and commentary. It's not fact. I want hard facts about what the language permits. I can make my own mind up about what is good and what is bad thanks. "The good parts" is an interesting read once you know the language, but I certainly wouldn't recommend it as a first book on js.
- sh1mmer 17y agoIn that case please don't read any books about patterns, or best practices. You might be the best programmer on HN for all I know, but personally I'm willing to admit Doug's decades of programming and international reputation might mean he can teach me something, without me having to learn it the painful way.
- axod 17y ago>> "In that case please don't read any books about patterns, or best practices." I don't. I hate naming things as patterns with a passion FWIW. I'm not really sure you can really learn good taste from a book :/ All you need is the language reference, and years of practice...
- deleted 17y ago[deleted]
- cwbrandsma 17y agoI'm in favor of reposting this forever or until every JavaScript developer knows it. Whichever happens first.
- hackernews 17y agoYeah, maybe a bit of a douchebag. I think it is an elite crowd here so this isn't really at all topical. But, smashingMagazine puts out some awesome content (albeit mostly link rolls, but well illustrated), I have a hard time criticizing them.