[Info-vax] Variable declarations, was: Re: improving EDT
Arne Vajhøj
arne at vajhoej.dk
Mon Nov 21 21:36:11 EST 2016
On 11/21/2016 8:39 AM, Simon Clubley wrote:
> 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. :-)
People use those two languages. Most of the people have also
tried working with a static typed language. Those two
languages obviously meet a market demand.
Are there any better examples for products than to meet
market demand?
Arne
More information about the Info-vax
mailing list