|
|
|
|
|
by quickthrower2
3164 days ago
|
|
To be clear I'm not saying functional is always better. I'm saying there are other possibilities and dogma is bad. The Haskell community has its dogmas too. And it's fair share of "let's do this simpler" blog posts. As an aside Haskell has many equivalents of dependency injection and sugars to help and you can "inject all the things" there too. My point is to think of the problem you are trying to solve, rather than ticking off the SOLID / Martin Fowler etc. tick boxes. Understanding OO patterns, SOLID etc is a good thing but being prepared to "break the rules" is good IMO too. |
|
Every exception I have shot myself.