Python handles globals badly.

Mark Lawrence breamoreboy at yahoo.co.uk
Tue Sep 8 18:41:32 EDT 2015


On 08/09/2015 18:41, MRAB wrote:
> On 2015-09-08 15:31, Ian Kelly wrote:
>> On Tue, Sep 8, 2015 at 5:55 AM, Vladimir Ignatov <kmisoft at gmail.com>
>> wrote:
>>>>> I had some experience programming in Lua and I'd say - that language
>>>>> is bad example to follow.
>>>>> Indexes start with 1  (I am not kidding)
>>>>
>>>> What is so bad about that?
>>>
>>> It's different from the rest 99.9% of languages for no particular
>>> reason.
>>
>> It's not "different from the rest 99.9% of languages". There are many
>> languages that use 1-based indexing, e.g. Matlab, Pascal, Fortran.
>>
> In Pascal you specify both the lower and the upper bounds.
>

I vaguely recall that in CORAL66/250 you specified both bounds and the 
lower bound could be negative.  Do other languages allow this or does 
the lower bound always have to be positive?

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence




More information about the Python-list mailing list