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

I wasn't asking you directly, the question was kind of rhetorical. The reason is that boilerplate code like that, should be abstracted away from the actual code that we write and I was kind of hoping to see that mentioned when I saw the jQuery boilerplate.


Very good point, thanks! That is one of the little joys of CoffeeScript, many of the "defensive" coding practices don't exist. Fortunately, the book isn't just about avoiding problems but also about positive, productive idioms and practices.

I think I picked this example in a bootless attempt to humblebrag by pointing out something I'd been cargo culting.




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

Search: