Bartc <b...@freeuk.com>:

> (Yes, 'const' in C is a waste of time, and half the people using it
> don't appear to know what it means.

It cannot mean anything meaningful; it's completely useless.

For example, what could one think of standard library functions whose
prototypes are:

   char *strstr(const char *haystack, const char *needle);

   int execve(const char *filename, char *const argv[],
              char *const envp[]);

Ok, enough of C.


Marko
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to