Hacker Newsnew | past | comments | ask | show | jobs | submit | krasimir-tsonev's commentslogin

Hi, I referenced http://addyosmani.com/resources/essentialjsdesignpatterns/bo... The revealing pattern is the backbone of the article.


That's right. The thing that I call "black box driven development" helps a lot if you want to do unit testing.


Yep, BBDD is just a buzzword and I agree with you. ENCAPSULATION is a term that fits in the concept as well, but it is a little bit general for me.


I feel that "var Box = function(a, b) {};" is more readable (or at least for me)


I totally agree with you. I'm making a serious note about my future articles/projects.


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

Search: