Python is just as good as C++ for real apps

Courageous jkraska at san.rr.com
Fri Jan 25 19:39:50 EST 2002


>Think of it as meaning that *p is of type int rathing than p is
>of type int*, and then it makes a bit more sense.

Only in that context. In other contexts, thinking of it that
way is nonsensical. For example, when you do ++, tell me how much
is added to it again? How about sizeof?. int* doesn't _behave_
like an int. It behaves like a pointer, which so happens can be
safely and without-casting be evaluated to an int.

*shrug*

It's not like it's a big deal, really. And I understand that there
was a requirement for backward comparability with C. 

C//




More information about the Python-list mailing list