Simo Costa (2018-11-28T20:20:13.000Z)
@Claude

Your suggestion is still too much verbose/ripetitive in my opinion because
you repeat the `this`keyword. I agree with the "limited use cases" of my
proposal but not with your concerns about the syntax, but I am open for
improvements on it.
I do not think that it could bring more mistuderstading than the
introduction of the rest/spread syntax has brought.

And about the Object.assign solution, there are always (theoretically) an
object creation and a function call, as well as the repetition of the
parameters.
`Object.assign(this, {x, y});`
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20181128/1fb893c2/attachment-0001.html>
andrysimo1997 at gmail.com (2018-11-28T20:27:25.403Z)
@Claude

Your suggestion is still too much verbose/ripetitive in my opinion because
you repeat the `this` keyword. I agree with the "limited use cases" of my
proposal but not with your concerns about the syntax.
Anyway I am open for improvements about it.
I do not think that it could bring more mistuderstading than the
introduction of the rest/spread syntax has brought.

And about the `Object.assign` solution, it isn't bad...but there are always (theoretically) an
object creation and a function call, as well as the repetition of the
parameters.
```
F(par1, par2) {
  Object.assign(this, {par1, par2});
}
```
andrysimo1997 at gmail.com (2018-11-28T20:25:00.673Z)
@Claude

Your suggestion is still too much verbose/ripetitive in my opinion because
you repeat the `this`keyword. I agree with the "limited use cases" of my
proposal but not with your concerns about the syntax.
Anyway I am open for improvements about it.
I do not think that it could bring more mistuderstading than the
introduction of the rest/spread syntax has brought.

And about the `Object.assign` solution, it isn't bad...but there are always (theoretically) an
object creation and a function call, as well as the repetition of the
parameters.
```
F(par1, par2) {
  Object.assign(this, {par1, par2});
}
```
andrysimo1997 at gmail.com (2018-11-28T20:24:25.244Z)
@Claude

Your suggestion is still too much verbose/ripetitive in my opinion because
you repeat the `this`keyword. I agree with the "limited use cases" of my
proposal but not with your concerns about the syntax, but I am open for
improvements on it.
I do not think that it could bring more mistuderstading than the
introduction of the rest/spread syntax has brought.

And about the `Object.assign` solution, it isn't bad...but there are always (theoretically) an
object creation and a function call, as well as the repetition of the
parameters.
```
F(par1, par2) {
  Object.assign(this, {par1, par2});
}
```
andrysimo1997 at gmail.com (2018-11-28T20:21:56.755Z)
@Claude

Your suggestion is still too much verbose/ripetitive in my opinion because
you repeat the `this`keyword. I agree with the "limited use cases" of my
proposal but not with your concerns about the syntax, but I am open for
improvements on it.
I do not think that it could bring more mistuderstading than the
introduction of the rest/spread syntax has brought.

And about the Object.assign solution, there are always (theoretically) an
object creation and a function call, as well as the repetition of the
parameters.
`Object.assign(this, {par1, par2});`