[Info-vax] Variable declarations, was: Re: improving EDT

Scott Dorsey kludge at panix.com
Sat Nov 19 16:38:09 EST 2016


David Froble  <davef at tsoft-inc.com> wrote:
>Simon Clubley wrote:
>> On 2016-11-18, David Froble <davef at tsoft-inc.com> wrote:
>>> I've had many criticize me for not declaring all variables.  My response has 
>>> been "that's the compiler's job, why should I do such work?".  Nothing different 
>>> in having tools that attempt to do the grunt work for you.
>> 
>> They are absolutely right to criticise you IMHO. Declaring variables
>> is protection against some types of silly typing errors and in more
>> modern traditional style languages this is a requirement (or you
>> get an undeclared variable error during compilation).
>
>So, who died, and left you god of variables?

Edsger Dijkstra.
--scott
-- 
"C'est un Nagra. C'est suisse, et tres, tres precis."



More information about the Info-vax mailing list