François REMY wrote:
Wouldn't it be better to use 'as' for guards? Seems more intuitive and easier to type let A as Number = 3; let B as Email = "x...@google.com"; class ListNode { public nextNode as ListNode; public value; // no guard } However, it is'nt a reserved keyword. But I don't think anybody sane would use 'as' as a variable name. Additionnaly, we could also require
If I would be in the scenarios where I have some a's and b's (collections) where I would count how many a's and b's follow some consition, I would use 'as' and 'bs' as the identifier...
_______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss