News for hackers. Stuff that matters.
Re:JavaScript Things I Wish I Knew Much Earlier In My Career by snitko on Tuesday April 20, 2010 @11:51AM (#1279721)
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.
Re:JavaScript Things I Wish I Knew Much Earlier In My Career by pavel_lishin on Tuesday April 20, 2010 @11:55AM (#1279739)
Also 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?
Re:JavaScript Things I Wish I Knew Much Earlier In My Career by dpritchett on Tuesday April 20, 2010 @12:06PM (#1279783)
The 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."

Re:JavaScript Things I Wish I Knew Much Earlier In My Career by sh1mmer on Tuesday April 20, 2010 @08:43PM (#1281043)
If 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.

Re:JavaScript Things I Wish I Knew Much Earlier In My Career by mixmax on Tuesday April 20, 2010 @06:49PM (#1280833)
Remember that everyone starts out as a beginner.
Re:JavaScript Things I Wish I Knew Much Earlier In My Career by cwbrandsma on Tuesday April 20, 2010 @02:03PM (#1280124)
I'm in favor of reposting this forever or until every JavaScript developer knows it. Whichever happens first.
Re:JavaScript Things I Wish I Knew Much Earlier In My Career by hackernews on Tuesday April 20, 2010 @10:11PM (#1281202)
Yeah, 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.

Re:JavaScript Things I Wish I Knew Much Earlier In My Career by axod on Tuesday April 20, 2010 @01:28PM (#1280022)
If there's one book every js developer should get, it's that one.
Re:JavaScript Things I Wish I Knew Much Earlier In My Career by sh1mmer on Tuesday April 20, 2010 @08:45PM (#1281048)
If 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.

Re:JavaScript Things I Wish I Knew Much Earlier In My Career by axod on Wednesday April 21, 2010 @06:11AM (#1281766)
I 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.

Re:JavaScript Things I Wish I Knew Much Earlier In My Career by sh1mmer on Wednesday April 21, 2010 @11:02AM (#1282339)
In 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.

Re:JavaScript Things I Wish I Knew Much Earlier In My Career by axod on Wednesday April 21, 2010 @02:56PM (#1283017)
>> "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...