Re: Proposal: Named de-structuring arguments.

2019-01-16 Thread Mark
oof. I appreciate how terse it is, but the readability of it all is a bit scary when you're doing multiple assignments more than one level deep. -m On Wed, Jan 16, 2019 at 3:28 AM Jordan Harband wrote: > See https://github.com/zkat/proposal-as-patterns > > On Wed, Jan 16, 2019 at 12:24 AM

Re: Proposal: Named de-structuring arguments.

2019-01-16 Thread Jordan Harband
See https://github.com/zkat/proposal-as-patterns On Wed, Jan 16, 2019 at 12:24 AM Sultan wrote: > The ability to both name and de-structure an argument. > > Relying on the spread operator does not archive the same effect > considering that the spread operator "by design" has some short-comings

Proposal: Named de-structuring arguments.

2019-01-16 Thread Sultan
The ability to both name and de-structure an argument. Relying on the spread operator does not archive the same effect considering that the spread operator "by design" has some short-comings related to exotic objects when the objects in question have a rich prototype you want to preserve.