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

Chris Ryland cpr at emsoftware.com
Fri Jan 25 12:57:49 EST 2002


Courageous <jkraska at san.rr.com> wrote in message news:<u3035ukscffh2i9sfklqpj9fvnf1a8h7vu at 4ax.com>...
[...]
> Which reminds me of a small curiosity. I read once that during the
> design stage, Bjarne apparently considered making it so that the
> statement:
> 
> int* p1,p2,p3;
> 
> ...would evaluate to...
> 
> int *p1,*p2,*p3;
> 
> I've always thought that this was proper. The compiler treats (int*)
> as a type, and so it should behave like one, in my opinion.
> 
> C//

But this would violate the basic C language "guiding principle" of
making each variable declaration precapitulate phyologony. ;-) I.e.,
of making the variable declaration prefigure its use to get to the
base type being declared.

--
Cheers!
Chris Ryland, Em Software



More information about the Python-list mailing list