Comment by avereveard
2 days ago
never said purely functional, but there are only 4 data channels in each method (input, return, calling another method, setting a state) - and if you constrain your class design to pick only 2 for each method, your life is just a tad easier.
and doesn't matter how bad the rest of the world is, rest of the world is some other maintainer's problem, you just encapsulate it.
No comments yet
Contribute on Hacker News ↗