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

> No one would write a class when we’re using a functional approach everywhere.

They're not orthogonal. Closures and classes are dual forms of the same thing. There are cases where one is better than the other for a given problem.



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

Search: