Re:Python Enums for Humans
by wuster on Monday February 27, 2012 @03:59PM
(#3640618)
The apparent repetition is due to the triviality of the example. Imagine if you had to translate the display string or change the display name without renaming all of your code references to the constant.
[ Parent
| on HN ]
There are no comments on this comment yet.