[Info-vax] Variable declarations, was: Re: improving EDT
Simon Clubley
clubley at remove_me.eisner.decus.org-Earth.UFP
Mon Nov 21 08:39:19 EST 2016
On 2016-11-19, Arne Vajhøj <arne at vajhoej.dk> wrote:
> On 11/19/2016 3:05 PM, Simon Clubley wrote:
>>
>> 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).
>
> True.
>
> But there are also some extremely popular languages that do not have
> such requirement including PHP and JavaScript.
>
I wouldn't hold up either of those languages as an example of how
programming languages should be implemented. :-)
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