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

One of my problems with OOP is that it is often hard to compose. One could argue that most of the OOP design patterns were made as an attempt to solve that. In FP, composition is done elegantly (at the cost of increased complexity in other areas, such as state management).

Scott Wlaschin has a great talk about that: https://www.youtube.com/watch?v=4jusLF_Xz7Q



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

Search: