in PHP &$ref means by reference ... and in C is about the address ... I
understand your proposal, but I see few gotchas in it:
```js
let { x: ref x } = obj;
```
my proposal is:
```js
let {} = obj;
```
less typing, less eyes crawling, it's about describing the intent to
change, or address,
This was mentioned up-thread, but I wrote up this proposal several years ago
(https://github.com/rbuckton/proposal-refs) and am still considering bringing
it to committee at some point. However, there are a larger set of cross-cutting
concerns for refs in the context of a proposal like
> How will you prevent the passing of the object down the pipe?
```js
const downThePipe = ({}) => {
// you can read source
source;
// you can set source
source = 'blah';
// you can't know where source comes from
// but you could propagate that reference further
evenFurtherDown({,
3 matches
Mail list logo