Modular At-Names

David Herman dherman at mozilla.com
Fri Oct 12 14:20:31 PDT 2012


On Oct 12, 2012, at 9:38 AM, Kevin Smith <khs4473 at gmail.com> wrote:

> The problem with explicit declarations is that it's going to be burdensome, for no apparent gain.  Consider:  I have a real-world class with 37 "internal" methods which are prefixed with an underscore.  I'm not kidding.  Explicit declaration means that I have to maintain a list of 37 at-name declarations, separate from the class definition itself, which contributes *no real information* that isn't available elsewhere in the module code.

This is a strong point. My first instinct was similar to Axel's, but you're right that classes in particular tend to come with a lot of names. I still need to mull this. Thanks for this proposal.

Dave



More information about the es-discuss mailing list