You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I presented on https://github.com/rbuckton/proposal-shorthand-improvements several years ago and while it did not advance to Stage 1, I intend to bring it back to committee in the near future with some amendments. My concern is that there is significant syntactic overlap between the two proposals which could be confusing should both be adopted:
this proposal:
conststate2= #{
...state1,counters[0].value: 2,// sets `state2.counters[0].value` to `2`metadata.lastUpdate: 1584383011300,// sets `state2.metadata.lastUpdate` to `1584383011300`};
proposal-shorthand-improvements:
constcounters=[{value: 2}];constmetadata={lastUpdate: 1584383011300};conststate2={
...state1,counters[0].value,// sets `state2.value` to `counters[0].value`metadata.lastUpdate // sets state2.lastUpdate` to `metadata.lastUpdate`}
The proposal was not adopted due to some syntactic concerns that I intend to address, however the proposal has been on the backburner while I focused on advancing other proposals. Also note that my proposal is based on existing prior art in C#:
varx=new{ y =1};varobj=new{ x.y };
Console.WriteLine(obj.y);// 1
The text was updated successfully, but these errors were encountered:
I presented on https://github.com/rbuckton/proposal-shorthand-improvements several years ago and while it did not advance to Stage 1, I intend to bring it back to committee in the near future with some amendments. My concern is that there is significant syntactic overlap between the two proposals which could be confusing should both be adopted:
this proposal:
proposal-shorthand-improvements:
The proposal was not adopted due to some syntactic concerns that I intend to address, however the proposal has been on the backburner while I focused on advancing other proposals. Also note that my proposal is based on existing prior art in C#:
The text was updated successfully, but these errors were encountered: