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

Tom Van Cutsem at
Fri Jan 27 10:53:12 PST 2012

2012/1/27 Axel Rauschmayer <axel at>

> 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).

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list