Open rwaldron opened 7 years ago
Good call - the block/object literal similarity seems like an issue there.
Apologies for the silly question, but just to see if I understand this correctly:
A
is an object with a property f
that is a functionB
is a labelled block with a function call f(message, function() { ... })
C
is a non-labelled block with the same function callIs the confusion between A
and B
in that it is hard to tell the difference between the two?
I think it's hard to tell the difference between all of A, B, and C - especially B and C.
A is valid today, B and C are possible with the syntax in this proposal. The "look-a-like" problem is subjective, so maybe not a concern? I just wanted to make a record—feel free to close if this is considered "not an issue"