Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Oh man... the Rhino is a good reference, but lacks all kinds of best practices and essential style pieces.

Between 'proper' OO style, short circuiting on falsey assignment (var a = b || "default"), checking existence to avoid errors ( if (myObject && myObject.getJSON()){//block to deal with JSON} ) and the DOM, I feel like this is only useful to look up the Date() and Math() methods.

Sorry, just griping because it was the first 'real' programming book I got, and I feel that it misled me for quite a while. </rant>



I wonder why they don't add the <rant> tag to the HTML5 standard.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: