Proposal: expression mode (=) (Caitlin Potter)

# Caitlin Potter (7 years ago)

On Oct 30, 2016, at 9:33 PM, David Baldwin <david.chris.baldwin at gmail.com> wrote:

So just to clarify would the non-labeled statements be required to be before the labeled statements in the object?

if you wanted this to be compatible with code on the web (eg foo = { key: value }), yes (and, you do). But that would be a confusing caveat, so I'd go with a different strategy (new operators or keywords).

May it would be better to have a "code" key that would contain all runnable code statements. It wouldn't be aa elegant but at least it would be clear

I'm not entirely sure what this means. Something like objc/swift blocks?

# Isiah Meadows (7 years ago)

I'd have to agree that = just feels ugly and slightly wrong for this use case.