Hacker News new | ask | show | jobs
by bedobi 1193 days ago
Don't mean to be uncharitable, but the author seems unaware of basic FP concepts. There's a reason why most OO languages are moving more and more towards FP.
1 comments

Which FP concepts would help here?
Prefer functions that return things over void methods, prefer immutability over mutability, prefer pure functions that declare (and require) their dependencies as inputs etc etc.