News for hackers. Stuff that matters.
Re:Data Still Dominates by wellpast on Tuesday July 09, 2019 @08:53PM (#20398270)
I agree and I think rules are pointless. Everything is a tool and you pick the right tool for the job and that requires context and thinking.

However, having built systems in OO and then in functional, I've come to realize that the OO tools always have a surface of familiarity (`cat.meow()` vs `meow(cat)`) but are highly coupled (inflexible) while the latter, functional composition is not.

And if there's any objective measure to complexity it's a measure of degrees of coupling. And OO distinctly loses to functional there.

Re:Data Still Dominates by mpweiher on Thursday July 11, 2019 @06:22AM (#20410446)
Hmm...I would say that cat.meow() has higher cohesion and lower coupling than meow(cat). Which is exactly what you want.

Maybe a different example would better illustrate the point?