These are chat archives for ramda/ramda

23rd
Dec 2018
Raja Rao DV
@rajaraodv_twitter
Dec 23 2018 01:35
Thanks @ben-eb ! I'll flip the argument and see; BTW, Am I doing the rest OK? Am I over-engineering things? Is there any simpler way to do all these in Ramda? In my case, I have several similar functions, and my thinking is that doing like this, extracting all the things from the previous code might help me reuse many of the functions. What do you say?
Ben Briggs
@ben-eb
Dec 23 2018 15:31
@rajaraodv_twitter Try not to optimise for re-use, it's not the be-all and end-all :) https://blog.codecentric.de/en/2015/10/the-broken-promise-of-re-use/ https://www.sandimetz.com/blog/2016/1/20/the-wrong-abstraction - having said that, given partial application you may want to extract your pathOr('') into its own function