Hacker News new | ask | show | jobs
by yakshaving_jgt 2151 days ago
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.