Hacker News new | ask | show | jobs
by albertkawmi 4155 days ago
This slideshow [1] by one of the authors of Ramda.js goes over a JavaScript example in OO style and refactors it to functional style. Currying is used to complete the refactoring.

I've linked to the slides on currying but you'll need to back up to follow the whole example.

[1] http://scott.sauyet.com/Javascript/Talk/FunctionalProgrammin...

1 comments

Wow, thanks, that presentation is pure gold! The best thing about FP (and moving into it from the OOP world) I've ever seen: clear, easy to follow, based on a practical example and really presenting the sense behind the use of FP.