Sep 25, 2021
You forget arithmetics. (And for any higher level language or architecture I would add side effects to the list, but yes with the lowest level goggles it is just a write.)
Well, then you should not use default parameters, in any language.
But if you accept that, then destructuring defaults are the same thing, just at the next level. It is like if you called a new function that also had defaults for the arguments.