| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Null |
1237cf565822
c_echo
Hello Jasen -
TT>>> ``Abbreviations'' such as if(p), though perfectly legal,
TT>>> are considered by some to be bad style (and by others to
TT>>> be good style; see question 17.10).
CA>> I am convinced that a 'style' that obfuscates rather than
CA>> self-documents is not a 'good' style of programming for
CA>> _any_ language.
JB> if(p) is not obfucation. if("pigs fly") is :)
To _me_ any single letter variable is obfuscation unless it is
used within a very small function and is local to that
function. Even then it's not good 'style' IMO.
CA>> As one who does not program on a daily basis it is
CA>> difficult to even modify existing code and recompile it
CA>> without having to scan through half the code searching for
CA>> the value of 'p' in an 'if(p)' statement. YMMV
JB> that's a different matter... if that's a probleem the
JB> functions may be too long. or the variable may better be
JB> named to indicate its type.
I like the concept of 'Hungarian Notation' if not the
implementation of it. :-)
>
> , ,
> o/ Charles.Angelich \o ,
> __o/
> / > USA, MI < \ __\__
___ * ATP/16bit 2.31 *
... DOS the Ghost in the Machine! http://www.undercoverdesign.com/dosghost/
--- Maximus/2 3.01
* Origin: COMM Port OS/2 juge.com 204.89.247.1 (281) 980-9671 (1:106/2000)SEEN-BY: 633/267 270 @PATH: 106/2000 633/267 |
|
| 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™.