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

I like classes but I'm in the minority. They are just syntactic sugar over functions, but I like the explicitness of them. If a closure works for you, that's great but there isn't an objective reason to use one over the other.


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

Search: