TIP: Click on subject to list as thread! ANSI
echo: aust_c_here
to: Paul Edwards
from: Peter Collis
date: 1996-05-02 15:58:52
subject: Filename Expansion

While listening to Paul Edwards Pete heard:Filename Expansion

G'day Paul

 PC> of success or failure you have to use something, perhaps

 PC> enum {SUCCESS, FAILURE};

 PC> would be better?.

 PE> Definitely not.  0 and 1 are best.  0 and non-zero are
 PE> well-defined, you can read ANY book on C, and find out that 0 is
 PE> false and non-zero is true.  When you start redefining the
 PE> language by putting in crap like #define SUCCESS 1, you have to
 PE> chain back through header files looking for where it is defined,
 PE> because you're now using "Joe Blogg's C" instead of standard C.

The above enum was just an example i don't use that myself however i
do have other bad habits that you wouldn't approve of :-),  also i was
going to disagree with you on the paragraph above until i gave it some
thought and looked at it from the perspective of someone else trying
to read my code, Though i still think named constants will return more
information to the person reading the code in some instances than just
numeric values.

 PE> If it was so good, they would have included it as part of the
 PE> standard.  Just like that TCXL dickhead defining IntT as short
 PE> or something.  It's just crap.

Afraid i'm not familiar with TCXL, what is it, some sort of addon
library.

   -=Pete=-


--- OMX/Blue Wave v2.12
* Origin: Gates of Hell (3:713/914.16)
SEEN-BY: 50/99 78/0 620/243 623/630 711/401 409 410 413 430 808 809 932 934
SEEN-BY: 712/508 515 713/111 317 601 611 615 618 700 826 888 914 714/906
SEEN-BY: 800/1 7877/2809
@PATH: 713/914 615 888 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.