News for hackers. Stuff that matters.
Re:Learn Functional Programming Design from Redux by yakshaving_jgt on Tuesday August 04, 2020 @04:29AM (#24047861)
I think at some point we need to stop infantilising our peers. It isn't toxic when one child says to another that speaking in Pig Latin isn't hard. The difference between `function add(a, b) { return a + b; }` and `add a b = a + b` is about as superficial as the difference between Hello World and Ellohay Orldway. In fact, as I've already alluded to, syntax swaps don't even need to span different programming languages — "modern" JavaScript uses different function expression syntax.

Describing syntax swaps as a "move from one mental model to another" is intellectually dishonest.

There are no comments on this comment yet.