Python vs. Io

Christopher Koppler klapotec at chello.at
Sun Feb 1 01:39:14 EST 2004


On 31 Jan 2004 18:08:15 -0800, LittleDanEhren at yahoo.com (Daniel
Ehrenberg) wrote:

>> Do you know why the creator of IO decided not to use the now-ubiquitous 
>> "." operator? I don't know whether I can define a "." operator that has 
>> the appropriate behaviour but that wouldn't help anyhow.
>> 
>>   Paul Prescod
>
>In the opinion of the creators of Io, a space looked cleaner. Using a
>period looks kinda like you're finishing a sentence and starting a new
>one. Consider the following syntaxes:
>
>Dog barks //Io
>Dog.barks() #Python
>
>Regardless of which one is more common, which looks more like
>language?

Looking like natural language is *not* necessarily a good thing in
programming languages.

--
Christopher



More information about the Python-list mailing list