Question about math.pi is mutable
Grant Edwards
invalid at invalid.invalid
Sat Nov 7 11:16:33 EST 2015
On 2015-11-07, Marko Rauhamaa <marko at pacujo.net> wrote:
> Marko Rauhamaa <marko at pacujo.net>:
>
>> In my work, I currently use bash, Python and C. For many, many tasks,
>> bash is superior to Python. For others, Python can't compete with C.
>> Yet the vast gap between bash and C is nicely filled with Python.
>
> And, by the way, the introduction of the "const" keyword was maybe the
> biggest mistake the C standardizers ever made. It turned out to be about
> as useful as a mosquito buzzing at your ear, and equally persistent and
> annoying.
I take it you don't write embedded code that runs from ROM? I do. The
const keyword is the most valuable addition to the C language since
the function prototype. Without it, you used to have to jump through
all sorts of hoops to get read-only data placed into read-only memory.
--
Grant
More information about the Python-list
mailing list