Module syntax

Axel Rauschmayer axel at rauschma.de
Mon Jun 3 10:29:25 PDT 2013


Bikeshedding: I generally like the module syntax, but I’d always omit the braces and use `import default` for importing the default export of a module.

Rationale:
– Reducing the grawlix factor.
– Making non-default imports more convenient – which I assume will happen more often(?)

-- 
Dr. Axel Rauschmayer
axel at rauschma.de

home: rauschma.de
twitter: twitter.com/rauschma
blog: 2ality.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130603/6daca09b/attachment-0001.html>


More information about the es-discuss mailing list