Python execution speed

Sandy Norton sandskyfly at hotmail.com
Tue Nov 20 15:06:03 EST 2001


"Morten W. Petersen" <morten at thingamy.net> wrote in message
news:Pine.LNX.4.21.0111201815190.6229-100000 at bcryachts.atsat.com...

> One of Python's advantages is a consistent (simple) design, (not counting
> small quirks like 'def function(): return 1' and 'function =
> lambda: 1'.  Consistent design says 'less complexity' in my ears, along
> the same lines of the simpleness (ease of maintenance, readability,
> portability) of a python application if it can always be coded in Python.

Excuse my curiosity but what's quirky about 'def function(): return 1' and
'function =
lambda: 1'?

Sandy





More information about the Python-list mailing list