DEV Community

Discussion on: What's one piece of advice every dev should ignore? 🚩🚩🚩

Collapse
 
tamusjroyce profile image
tamusjroyce

Sorry for the two-parter:

do you know functional programming? Like closures and currying?

Note: all code that is reachable is functional. I mean, pure lambda functions or any set-based/tuple-calculus-based patterns are great. But they aren’t anymore “functional” than anything else.

Closures & currying is deprecated in favor of es6 classes. And they really amount to a complex way to do inheritance on the fly. 🤢🤮