[Python-Dev] Set naming

Eric S. Raymond esr@thyrsus.com
Sat, 24 Aug 2002 11:14:12 -0400

Magnus Lie Hetland <magnus@hetland.org>:
> By naming the new set module sets and the class Set the parallel to
> array module is broken. I guess that's not a problem -- I just thought
> I'd mention it. Naming the module "set" would be more analogous to
> "array", and having "set" as an alias for "Set" would let people
> switch to a possible future type with the same name by commenting out
> their import statements...

Hmmm...I think I agree with this objection, and I have another.  It's
not consistently so, but usually the classes that are simpler and
closer to the system core aren't capitalized.  The name "Set" has
a misleading hint in it.
		<a href="http://www.tuxedo.org/~esr/">Eric S. Raymond</a>