4 ms·
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
by alfl 6y ago
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.