News for hackers. Stuff that matters.
Re:Learn Functional Programming Design from Redux by zarathustreal on Thursday August 06, 2020 @06:11AM (#24069609)
I find this argument a bit disingenuous to be honest, I took the liberty of spelling things out in my reply because I assumed you wouldn’t otherwise be able to see the point. An explanation to a beginner, which doesn’t require memorizing any additional gotchas, would be something like “variables hold values. Strings, numbers, booleans, and references are values. Variables declared with const contain values that are immutable. An object is not a value.”
Re:Learn Functional Programming Design from Redux by yakshaving_jgt on Thursday August 06, 2020 @06:44AM (#24069752)
Likewise, I think it's disingenuous to suggest that "an object is not a value" is not an "additional gotcha".

Differences in evaluation strategies is not really beginner material.