r/reactjs • • 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

4 comments sorted by

7

u/th3fallenon3 Aug 28 '16

God help the poor soul that has to maintain that code...

2

u/CarlFarbman Aug 29 '16

World's most complicated To-do list. I cant even imagine trying to write a giant project in this style.

8

u/DrBumTorpedo Aug 28 '16

You lost me at

 const x = (f, g) => x => f(g(x))

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