News for hackers. Stuff that matters.
Re:Object-Oriented Programming: A Disaster Story by tracker1 on Tuesday January 19, 2016 @04:16PM (#10934098)
This is just a cool, affirming day for me with several recent articles praising dynamic languages, to pointing out flaws with OO in practice.

I'm fairly pragmatic when it comes to OO, FP etc.. I happen to like modern JS, I like FP for most workflows, and will use classes where it makes sense. By not needing to create DI systems and other "enterprise" patterns early on, I'm able to create simpler solutions... in most cases FP/Procedural hybrids make more sense in terms of workflow/state ... for state that is tethered to UI context, but no necessity to persist/reload will use more class oriented approach (React + Redux for example).

Once you're past the initial boilerplate and concepts, adding features adds far less complexity this way than with more traditional OO approaches.

There are no comments on this comment yet.