guest271314 (2019-05-30T06:59:00.000Z)
guest271314 at gmail.com (2019-05-30T07:27:34.471Z)
> Wouldn't it be better to consolidate the decision? I mean as OP I vote for `from`, but if majority will say they better like `x.{y, z}` I'll take it. No. There should not be any prohibition as to the additions different solutions to a single proposal. Neither proposal is "better" right now as neither have been coded, tested, and if necessary, specified. A simple majority does not mean correct or complete. The more approaches available the more ability to compose the code from different perspectives, outputting the same result; expanding the language both in syntax and reach as to possible composition, without setting an arbitrary specification to a single majority at only this point in time. Given in principle either proposal and approach would presumably output the same result, is the vote on the least code to output the result or user preference by way of vote? If there is a vote for which single proposal relevant to destructuring assignment, why should the criteria not be objectively the least code written to output same result once implemented - without user preference being involved at all? If ```x.{y, z}``` or ```...x.{y, z}``` is least bytes then specify ```x.{y, z}``` based on least bytes alone. The tersest have been able to achieve so far on a single line using an immediately invoked arrow function and object rest which requires writing the identifier twice ```let obj = {otherData:'other data',...(({firstName,lastName})=>({firstName,lastName}))(user.profile)}``` If part of the requirement for the proposal is terse code, following the pattern of an immediately invoked arrow function if ```=``` operator between expressions ```()``` the arrow `>` and return value could be omitted as being designated implicit immediately invoked arrow function with default return value set from the destructured parameters, or ```undefined``` set as value of target identifiers, or plain object ```{}```, resulting in the syntax, within at least an object literal, possibly preceded by spread syntax, will result in ```let obj = {otherData:'other data',...(({firstName,lastName})=(user.profile))}``` or ```let obj = {otherData:'other data',...{firstName,lastName}(user.profile)}``` being equivalent to the object rest followed by immediately invoked arrow function.
guest271314 at gmail.com (2019-05-30T07:24:58.844Z)
> Wouldn't it be better to consolidate the decision? I mean as OP I vote for `from`, but if majority will say they better like `x.{y, z}` I'll take it. No. There should not be any prohibition as to the additions different solutions to a single proposal. Neither proposal is "better" right now as neither have been coded, tested, and if necessary, specified. A simple majority does not mean correct or complete. The more approaches available the more ability to compose the code from different perspectives, outputting the same result; expanding the language both in syntax and reach as to possible composition, without setting an arbitrary specification to a single majority at only this point in time. Given in principle either proposal and approach would presumably output the same result, is the vote on the least code to output the result or user preference by way of vote? If there is a vote for which single proposal relevant to destructuring assignment, why should the criteria not be objectively the least code written to output same result once implemented - without user preference being involved at all? If ```x.{y, z}``` or ```...x.{y, z}``` is least bytes then specify ```x.{y, z}``` based on least bytes alone. The tersest have been able to achieve so far on a single line using an immediately invoked arrow function and object rest which requires writing the identifier twice. If part of the requirement for the proposal is terse code, following the pattern of an immediately invoked arrow function if ```=``` operator between expressions ```()``` the arrow `>` and return value could be omitted as being designated implicit immediately invoked arrow function with default return value set from the destructured parameters, or ```undefined``` set as value of target identifiers, or plain object ```{}```, resulting in the syntax, within at least an object literal, possibly preceded by spread syntax, will result in ```let obj = {otherData:'other data',...(({firstName,lastName})=(user.profile))}``` or ```let obj = {otherData:'other data',...{firstName,lastName}(user.profile)}``` being equivalent to ```let obj = {otherData:'other data',...(({firstName,lastName})=>({firstName,lastName}))(user.profile)}```
guest271314 at gmail.com (2019-05-30T07:05:42.333Z)
> Wouldn't it be better to consolidate the decision? I mean as OP I vote for `from`, but if majority will say they better like `x.{y, z}` I'll take it. No. There should not be any prohibition as to the additions different solutions to a single proposal. Neither proposal is "better" right now as neither have been coded, tested, and if necessary, specified. A simple majority does not mean correct or complete. The more approaches available the more ability to compose the code from different perspectives, outputting the same result; expanding the language both in syntax and reach as to possible composition, without setting an arbitrary specification to a single majority at only this point in time. Given in principle either proposal and approach would presumably output the same result, is the vote on the least code to output the result or user preference by way of vote? If there is a vote for which single proposal relevant to destructuring assignment, why should the criteria not be objectively the least code written to output same result once implemented - without user preference being involved at all? The tersest have been able to achieve so far on a single line using an immediately invoked arrow function and object rest which requires writing the identifier twice. If part of the requirement for the proposal is terse code, following the pattern of an immediately invoked arrow function if ```=``` operator between expressions ```()``` the arrow `>` and return value could be omitted as being designated implicit immediately invoked arrow function with default return value set from the destructured parameters, or ```undefined``` set as value of target identifiers, or plain object ```{}```, resulting in the syntax, within at least an object literal, possibly preceded by spread syntax, will result in ```let obj = {otherData:'other data',...(({firstName,lastName})=(user.profile))}``` being equivalent to ```let obj = {otherData:'other data',...(({firstName,lastName})=>({firstName,lastName}))(user.profile)}```
guest271314 at gmail.com (2019-05-30T07:04:33.693Z)
> Wouldn't it be better to consolidate the decision? I mean as OP I vote for `from`, but if majority will say they better like `x.{y, z}` I'll take it. No. There should not be any prohibition as to the additions different solutions to a single proposal. Neither proposal is "better" right now as neither have been coded, tested, and if necessary, specified. A simple majority does not mean correct or complete. The more approaches available the more ability to compose the code from different perspectives, outputting the same result; expanding the language both in syntax and reach as to possible composition, without setting an arbitrary specification to a single majority at only this point in time. Given in principle either proposal and approach would presumably output the same result, is the vote on the least code to output the result or user preference by way of vote? If there is a vote for which single proposal relevant to destructuring assignment, why should the criteria not be objectively the least code written to output same result once implemented - without user preference being involved at all? The tersest have been able to achieve so far on a single line using an immediately invoked arrow function and object rest which requires writing the identifier twice. If part of the requirement for the proposal is terse code, following the pattern of an immediately invoked arrow function if ```=``` operator between expressions ```()``` the arrow `>` and return value could be omitted as being designated implicit immediately invoked arrow function with default return value set from the destructured parameters, or ```undefined``` set as value of target identifiers, or plain object ```{}```, resulting in the syntax, within at least an object literal, possibly preceded by spread syntax, will result in ```let obj = {otherData:'other data',...(({firstName,lastName})=(user.profile)}``` being equivalent to ```let obj = {otherData:'other data',...(({firstName,lastName})=>({firstName,lastName}))(user.profile)}```
guest271314 at gmail.com (2019-05-30T07:03:47.190Z)
> Wouldn't it be better to consolidate the decision? I mean as OP I vote for `from`, but if majority will say they better like `x.{y, z}` I'll take it. No. There should not be any prohibition as to the additions different solutions to a single proposal. Neither proposal is "better" right now as neither have been coded, tested, and if necessary, specified. A simple majority does not mean correct or complete. The more approaches available the more ability to compose the code from different perspectives, outputting the same result; expanding the language both in syntax and reach as to possible composition, without setting an arbitrary specification to a single majority at only this point in time. Given in principle either proposal and approach would presumably output the same result, is the vote on the least code to output the result or user preference by way of vote? If there is a vote for which single proposal relevant to destructuring assignment, why should the criteria not be objectively the least code written to output same result once implemented - without user preference being involved at all? The tersest have been able to achieve so far on a single line using an immediately invoked arrow function and object rest which requires writing the identifier twice. If part of the requirement for the proposal is terse code, following the pattern of an immediately invoked arrow function if ```=``` operator between expressions ```()``` the arrow `>` and return value could be omitted as being designated implicit immediately invoked arrow function with default return value set from the destructured parameters, or ```undefined``` set as value of target identifiers, or plain object ```{}```, resulting in the syntax, within at least an object literal, possibly preceded by spread syntax, will result in ```let obj = {otherData:'other data',...(({firstName,lastName})=(user.profile)}``` being equivalent to ```let obj = {otherData:'other data',...(({firstName,lastName})=>({firstName,lastName}))(user.profile)}```