[Info-vax] Variable declarations, was: Re: improving EDT
Simon Clubley
clubley at remove_me.eisner.decus.org-Earth.UFP
Sat Nov 19 15:05:11 EST 2016
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).
Simon.
--
Simon Clubley, clubley at remove_me.eisner.decus.org-Earth.UFP
Microsoft: Bringing you 1980s technology to a 21st century world
More information about the Info-vax
mailing list