News for hackers. Stuff that matters.
Re:Two Years of Functional Programming in JavaScript: Lesson... by tracker1 on Friday April 13, 2018 @10:09AM (#16830111)
It may depend on the context, and with some VERY large data models, something like even Redux would be less efficient. TBH though, I find that practicing FP in JS even in a less pure form isn't so bad. I tend to prefer shallow clones as responses in favor over mutations. Though I will mutate an object, when it's exclusively inside a function/module and sealed from the outside so that such mutations are at least in isolation.

There are no comments on this comment yet.