News for hackers. Stuff that matters.
Re:Introducing Hooks by beaconstudios on Friday October 26, 2018 @06:02AM (#18307959)
functional javascript can increase code clarity if written well. Certainly ramda is usually a huge improvement when making mutations in a reducer. compose()'ing a bunch of HOCs is essentially the same as having mixins (and it's exactly the same as @decorators), just with a slightly different syntax.

I think it's mostly down to the paradigm you're most familiar with. Classes are normal to OO developers, functional composition is normal to FP developers.

There are no comments on this comment yet.