Lies in education [was Re: The "loop and a half"]

Marko Rauhamaa marko at pacujo.net
Fri Oct 13 06:51:47 EDT 2017


Marko Rauhamaa <marko at pacujo.net>:

> bartc <bc at freeuk.com>:
>> 'const' tries to do too many things, most of them poorly, although it
>> does a very good job at adding clutter.
>
> +1

However, I do my best to honor "const" since it's there. I'm even more
Catholic than the Pope and declare:

   int main(int argc, const char *const argv[])

I generally *don't* use "const" with opaque data types.


Marko



More information about the Python-list mailing list