Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ukma!rutgers!bellcore!texbell!sugar!ficc!peter From: peter@ficc.uu.net (Peter da Silva) Newsgroups: comp.lang.c Subject: Re: Just Wondering Message-ID: <3950@ficc.uu.net> Date: 24 Apr 89 13:32:16 GMT References: <13159@dartvax.Dartmouth.EDU> <10088@smoke.BRL.MIL> <1126@ptolemy.arc.nasa.gov> Organization: Xenix Support Lines: 47 In article <1126@ptolemy.arc.nasa.gov>, raymond@ptolemy.arc.nasa.gov (Eric A. Raymond) writes: > I agree that they improve your namespace, but not in any usable way. > (Sort of like the big gear/little gear combinations on a bike. You > can use them, but it's not a good idea.) Although its debatable, I > feel its bad style to use the same name (in diffrent cases) for > different purposes within a program. You mean this is evil and rude: BOOL framistan(file) char *file; { FILE *fp; if(!(fp = fopen(file, "r"))) return FALSE; ... How about this: #define Strlen(s) (s?strlen(s):0) How about this: : LOOP ?COMPILE 3 ?MATCH COMPILE loop HERE - HERE ! ; IMMEDIATE How about homonyms? BOOL boule(fyle) char *fyle; { FILE *fp; if(!(fp = fopen(fyle, "r"))) return FALSE; ... -- Peter da Silva, Xenix Support, Ferranti International Controls Corporation. Business: uunet.uu.net!ficc!peter, peter@ficc.uu.net, +1 713 274 5180. Personal: ...!texbell!sugar!peter, peter@sugar.hackercorp.com.