Allen Wirfs-Brock wrote:

obj.(
  deep.(
    deeper: val;
    deeper2: val2
  )
)


They look different, but it's not clear to me that it looks bad. I would use = instead of : because we are really just factoring expressions and = is the operator that we are dealing with.

Argh, I meant to use = of course. : is wrong because this is [[Put]] not [[DefineOwnProperty]].

Otherwise the objection to ( and ) as stand-ins for { and } in K&R style stands. Is it clear now?

/be
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to