[Python-ideas] Should Python have user-defined constants?
sf at fermigier.com
Tue Nov 21 13:04:17 EST 2017
On Tue, Nov 21, 2017 at 6:34 PM, Chris Barker <chris.barker at noaa.gov> wrote:
> And what's the use-case, really? beyond the use case for all sorts of
> static typing...
were added in ES6.
Static typing is not the only use case. Discouraging reuse of variables of
favouring functional style over imperative is a strong use case for 'const'
argument is much less convincing in Python.
Stefane Fermigier - http://fermigier.com/ - http://twitter.com/sfermigier -
Founder & CEO, Abilian - Enterprise Social Software -
Chairman, Free&OSS Group / Systematic Cluster -
Co-Chairman, National Council for Free & Open Source Software (CNLL) -
Founder & Organiser, PyData Paris - http://pydata.fr/
“You never change things by ﬁghting the existing reality. To change
something, build a new model that makes the existing model obsolete.” — R.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-ideas