rot13 in a more Pythonic style?

Beej beej at beej.us
Wed Feb 14 15:06:51 EST 2007


On Feb 14, 9:04 am, "Andy Dingley" <ding... at codesmiths.com> wrote:
> I still don't understand what a lambda is _for_ in Python.

Python supports functional programming to a certain extent, and
lambdas are part of this.

http://linuxgazette.net/109/pramode.html

> I know what
> they are, I know what the alternatives are, but I still haven't found
> an instance where it permits something novel to be done that couldn't
> be done otherwise (if maybe not so neatly).

Strictly speaking, you can live your whole life without using them.
There's always a procedural way of doing things, as well.

-Beej




More information about the Python-list mailing list