A RetroSearch Logo

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

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2013-April/125758.html below:

[Python-Dev] Enumeration item arguments?

[Python-Dev] Enumeration item arguments? [Python-Dev] Enumeration item arguments?Barry Warsaw barry at python.org
Tue Apr 30 05:47:01 CEST 2013
On Apr 29, 2013, at 03:25 PM, Eli Bendersky wrote:

>I'm -1, and this is yet another bad sign of conflating enums with classes.
>If planets want to have attributes and behaviors, let them be normal
>classes. If they want a PlanetId *enum member*, that's OK, but there's no
>need to intermix the two.

I agree with this.

-Barry
More information about the Python-Dev mailing list

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