Should constants be introduced to Python?
Marko Rauhamaa
marko at pacujo.net
Fri Nov 17 10:55:38 EST 2017
Marcin Tustin <marcin.tustin at gmail.com>:
> I'm against this because Python's strength is its simplicity. This
> doesn't actually simplify anything, but it does add a new language
> feature to understand.
And there will be eternal debates on the correct use of the feature.
One of the ugliest features of C is the "const" modifier. There's no way
to use it correctly. Even the POSIX libraries and C standards abuse it.
Marko
More information about the Python-list
mailing list