3 ms·
> In my experience, the mess created using OOP is harder to untangle than the mess created using a functional approach. OP complained about accidental complexi
by chipdart 2y ago
> In my experience, the mess created using OOP is harder to untangle than the mess created using a functional approach.
OP complained about accidental complexity, not subjective takes on how hard it is to refactor code.
Even so, anyone who has any cursory experience with TypeScript projects that follow a functional style can tell you without any doubt whatsoever that functional style is incomparably harder to refactor than any "enterprise-grade" OOP.
- nineplay 2y ago> OP complained about accidental complexity, not subjective takes on how hard it is to refactor code. The biggest problem with accidental complexity _is_ how hard it is to refactor code. Refactoring code is a huge part of software development.
- nailer 2y ago> Even so, anyone who has any cursory experience with TypeScript projects that follow a functional style can tell you without any doubt whatsoever that functional style is incomparably harder to refactor than any "enterprise-grade" OOP. My experience differs greatly. One can see functional style has taken off in the TS world, particularly with the popularity of React, so I suspect I'm not alone.