4 ms·
It encourages dependency injection, which in my experience will eventually encourage a functional programming style since there's so little barrier to it once y
by jon-wood 11y ago
It encourages dependency injection, which in my experience will eventually encourage a functional programming style since there's so little barrier to it once you're doing things like injecting the current time into a method which makes use of it. Maybe I'll turn around in five year's time and regret saying this, but I've never regretted pushing a project in a functional direction.
- Chris2048 11y agoSurely the value of functional style depends on language. Some languages have better guarantees that support functional styles.