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

OO is about managing state. Generally, stateless code is easier to test and maintain.

Around 2012 I started writing mostly functional code (in C++) to scratch my own maintainability itch.

I kept doing it through a long sojourn in JavaScript and now Python.

I haven’t looked back.



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

Search: