MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/javascript/comments/btxz72/what_are_some_javascript_things_beginners_dont/ep5nojq
r/javascript • u/[deleted] • May 28 '19
383 comments sorted by
View all comments
Show parent comments
9
Yes, I feel like a pure functional programming approach helps minimize the need.
It seems like it was good for making your own getter and setter functions but those are built into JS now...
1 u/[deleted] May 31 '19 I feel exactly the opposite. In a purely functional codebase, you're almost definitely going to be using curried functions and partial application, which only exist in Javascript because of closure.
1
I feel exactly the opposite. In a purely functional codebase, you're almost definitely going to be using curried functions and partial application, which only exist in Javascript because of closure.
9
u/theycallmeepoch May 28 '19
Yes, I feel like a pure functional programming approach helps minimize the need.
It seems like it was good for making your own getter and setter functions but those are built into JS now...