struct foo { /* ... */ };
int foo;
in C++.
I know it is really too late to change anything, but I'm still curious why C
was made this way. Speak up, BWK and DMR!!! :-) Flames to /dev/null, please.
Don Nash
UUCP: ...!{ihnp4, allegra, seismo!ut-sally}!ut-ngp!dlnash
ARPA: dln...@ngp.CC.UTEXAS.EDU
BITNET: CCEU001@UTADNX, DLNASH@UTADNX
Two wonderful facts to lighten your day:
1. The world is basically non-linear.
2. The entropy of the universe is increasing.
If they weren't in the same name space, you could, in addition
to the above, write:
struct foo { /* ... */ };
foo foo;
Yuch! Do you really want/need this flexibility? In my opinion,
it's better the way it is now.
To avoid things like:
foo foo;
Tom.