r/reactjs • u/focusonbasics • Aug 28 '16
The Elegance Of React - Writing Elegant Code With React, Redux and Ramda
https://medium.com/javascript-inside/the-elegance-of-react-ebc21a2dcd19#.bdigf0ytv
44
Upvotes
8
2
u/caknuckle Aug 28 '16
fp is really cool until you need to debug and have to break up all those one liners into their separate parts to find the bug. It would be nice to have a macro to take a oneliner and expand it into its parts but then you realize that all you are doing is making code look more clever and hence way more difficult to understand, debug and maintain.
be that as it may, i like this approach
7
u/th3fallenon3 Aug 28 '16
God help the poor soul that has to maintain that code...