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

> the article above is about a very basic language feature of JS that hopefully anyone who has every touched JS already knows about.

Hopefully, yes, but I think reality is much more depressing than that. Unfortunately, the JavaScript programmers that don't know probably don't read Hacker News either.



Actually, I only have a vague understanding of this and I'm probably what you would call an expert. I have used many of these features in JS, but like the author says it's unintuitive and "wrong" the way javascript does it. Basically OOP is a horrible hack in JS, and this is a very good article explaining various gotchas that I wasn't aware of.




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

Search: