Two kinds of [] (was: Re: shortcuts for defining block-local private names, plays nicely with @foo syntax)

Tom Van Cutsem tomvc.be at gmail.com
Fri Jan 27 10:53:12 PST 2012


2012/1/27 Axel Rauschmayer <axel at rauschma.de>

> Off-topic: What is the recommended style for naming modules? Capitalized
> and camel-cased? It’s nothing I couldn’t get used to, but it seems like the
> naming precedent would be JavaScript packages. Or is Reflect capitalized,
> because it is a built-in module?
>

I have been using @reflect as the name of the module, and Reflect as the
name of the module instance object, as in:

module Reflect from "@reflect";

Not sure if that is still the correct module syntax (and naming convention).

Cheers,
Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120127/1fa519d8/attachment.html>


More information about the es-discuss mailing list