Comment by biorach
5 months ago
They are referring to a convention, not a language restriction.
If you want to mutate two parameters just pass them to a function like you normally would.
It's sloppy and a bad habit, I would not let it pass a PR in production code. Probably OK for a throwaway script.
No comments yet
Contribute on Hacker News ↗