"James Mills" <prolo...@shortcircuit.net.au> writes:
> In fact, Python borrows features from the Functional Paradigm. Does
> this make it a Functional Language ? No. Why ? Because one of the
> clear requirements of the Functional Paradigm is that functions
> cannot have side affects.

I'd say functional programming emphasizes a style that avoids use
of side effects, but saying "functions cannot have side effects" is
a bit of an overstatement.  Even Haskell lets you code effectfully
when necessary, using the type system (IO Monad) to separate
effectful code from pure code.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to