long identifiers
    Steve Summit 
    scs at adam.mit.edu
       
    Fri Oct 26 03:53:07 AEST 1990
    
    
  
In article <1925 at tuvie> hp at vmars.tuwien.ac.at (Peter Holzer) writes:
>IMHO you should write your program readable, and long identifiers add a lot
>to readability. Restricting identifier names to 6 characters is a BUG...
You can have your cake and eat it too.  You don't have to limit
external identifiers to six characters, you just have to keep
them unique in the first six characters.  You can have a routine
called poweron() as long as you don't also have one called
poweroff().
>From time to time I come across "maximally portable" subroutine
libraries which have slavishly kept all of their 2,574 external
identifiers to exactly six characters, and they might as well
have been run through a shrouding program.  (Or were they C ports
of some old Fortran libraries, and did some old version of
Fortran limit identifiers to no more than six characters?)
                                            Steve Summit
                                            scs at adam.mit.edu
    
    
More information about the Comp.lang.c
mailing list