News for hackers. Stuff that matters.

buzzdecafe

Re:Is JavaScript getting worse? on Tuesday January 13, 2015 @08:49AM (#8879763)
(article author here) I very much agree with this point of view. The most important concern is a developer who thinks and writes clearly, irrespective of style or programming paradigm.

That said, I find FP easier to reason about and comprehend, but that is just one man's opinion. I also find it more fun.

The "bad bet" I was referring to was that you can make JS impersonate Java. That strikes me as a losing proposition. Sugaring up prototype inheritance to look like class-based inheritance just muddies the water.

Re:Ramda – A practical functional library for Javascript on Saturday November 29, 2014 @08:05AM (#8673660)
... also, `propEq` is already in the lib.
Re:Ramda – A practical functional library for Javascript on Saturday November 29, 2014 @07:47AM (#8673645)
(ramda co-author here) I agree the api has gotten a bit, let's say "broad". we're working on modularizing the lib now, and we plan to provide different builds as well as a facility to roll your own.
Re:Ramda – A practical functional library for Javascript on Saturday November 29, 2014 @07:44AM (#8673642)
> Is there something built-in to apply all the functions into the current global?

yes: `R.installTo(global)` will pull all of the ramda functions on the `global` object

Re:Functional Programming using JavaScript on Monday November 24, 2014 @02:18PM (#8654113)
you missed a golden opportunity to rickroll hacker news readers