lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev cleaning up lynx


From: John E. Davis
Subject: Re: lynx-dev cleaning up lynx
Date: Mon, 27 Apr 1998 13:57:50 -0400

On Mon, 27 Apr 1998 05:24:26 -0400 (EDT), "T.E.Dickey" <address@hidden> said:
>> appears that `more' is a global variable but `show_help' is local.  Is 
>> there any interest in renaming all global variables in such a way that 
>> they may be immediately distinguished from local variables?  For 
>> example, `more' would become `Lynx_More' or something like that. 
>> Unless this first step is taken, I just cannot imagine how one would 
>> ever untangle some of these functions. 
>I just use tags & grep (works for me, and doesn't mean that I have to
>change all of the names).

   Sure, that is what we all do now.  However, it is not the same
thing has having the variables named in such a way that it is
immediately obvious if a chunk of code references local variables or
global variables.  Also, tags will not help you if a local variable is
named `more' and a global variable is also called `more'.

--JOhn

reply via email to

[Prev in Thread] Current Thread [Next in Thread]