5 ms·
Function parameters aren't messages. They're shared state. I'd suggest watching the talk and reading about message passing systems in general.
by staticassertion 4y ago
Function parameters aren't messages. They're shared state. I'd suggest watching the talk and reading about message passing systems in general.
- blowski 4y ago“Watch this famous video” is not a great response. Many of us watched it years ago and seem to have interpreted it rather differently.
- staticassertion 4y agoThen you interpreted it incorrectly. I'm not inclined to teach you via HN about a subject that's well documented by resources I've already linked.
- nicoburns 4y agoI suppose if you mutate them. But we have a linter in place and a CI system that enforces it that prevents that.
- staticassertion 4y agoThere are many solutions, certainly. A network is one option, which I personally prefer, but as I said elsewhere it's a "choose the right tool for the job" kind of situation.