7 ms·
Not sure that everything should be "OO core". When I look at architecture, often some entire components can be viewed as a FP-style function. Adding the code t
by VHRanger 7y ago
Not sure that everything should be "OO core".
When I look at architecture, often some entire components can be viewed as a FP-style function. Adding the code to make it behave so is well worth it for the long term benefits.
If you start out writing this module as a class you instantiate, it can make the whole component more stateful as it evolves -- classes naturally push towards more stateful code.
Overall I think OO, FP and simple procedural programming should be at the disposal of everyone.
Just that historically the last ~20 years of enterprise programming (with Java, C# and OO-heavy C++ code) have really outsized OO's influence compared to how often it's the right tool