Python Shorthand (was Re: Why a class when there will only be one instance?
Ville Vainio
ville at spammers.com
Thu May 27 02:31:34 EDT 2004
>>>>> "Andrew" == Andrew Koenig <ark at acm.org> writes:
Andrew> "Ville Vainio" <ville at spammers.com> wrote in message
Andrew> news:du7fz9ni0ny.fsf_-_ at amadeus.cc.tut.fi...
>> Prefixing names with symbols like $ and @ is a great idea - it
>> makes the "nouns" (variables) stand out from "verbs", and makes
>> the code flow like a natural language, making reading it easy
>> and writing it fun!
Andrew> Interesting idea. Let's try it with English, using @ for
Andrew> nouns and $ for verbs:
Lest the humor (of contorted inside variety, I admit) be missed, it
was a parody of Larry Wall's argument for why $ prefix does not in
fact suck.
--
Ville Vainio http://tinyurl.com/2prnb
More information about the Python-list
mailing list