On Fri, 24 Feb 2006 08:03:49 -0500, Roy Smith wrote: > In article <[EMAIL PROTECTED]>, > Steven D'Aprano <[EMAIL PROTECTED]> wrote: > >> Side-effects aren't always bad (import, for example, does all its work by >> side-effect). But they are generally frowned upon, and in functional >> languages they are verboten. > > How do you do any I/O in a functional language if side effects are > verboten? For that matter, how does a functional program ever stop running?
Fair enough. But still, ignoring unavoidable cases like writing to a file, the ideal of functional languages is for side-effects to not exist. -- Steven. -- http://mail.python.org/mailman/listinfo/python-list