Hacker News new | past | comments | ask | show | jobs | submit login

Yes, this kind of approach is equivalent to closures/currying, in the style of OOP. However, using closures for this may not look idiomatic in some languages.



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

Search: