Python vs. Io

Brian Quinlan brian at sweetapp.com
Sun Feb 1 00:28:33 EST 2004


Daneil Ehrenberg wrote:

> Dog barks //Io
> Dog.barks() #Python

Interesting. I would never name a method like that because it is not
immediately clear to me whether the method is imperative of interrogatory.

The dog barks (Are you asking or telling the dog?)
Bark dog (You are definitely telling the dog something)
Dog, are you barking (You are definitely asking the dog)

So I'd write:

Dog barking
Dog bark

Cheers,
Brian





More information about the Python-list mailing list