A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2002-August/028273.html below:

[Python-Dev] Set naming

[Python-Dev] Set naming [Python-Dev] Set namingEric 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>



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4