The style of programming changes fundamentally once you accept that a data structure is immutable.
Given that python is a multi-paradigm language with a pronounced pragmatism towards the various paradigms (others see it as "Python's OO is not well-designed" etc) the issue of mutability has been approached in the same way. IOW, immutability would commit to complete functional approach a la Haskell. or make it more functional than the BDFL wanted. But it is very interesting to write code in the pure functional style; I have returned to my periodic wrestling with Haskell and this time around I find it easier and I have come to appreciate the elegance and 'simplicity' that results. YMMV is more than usually applicable of course. -- Asokan Pichai *-------------------* We will find a way. Or, make one. (Hannibal) _______________________________________________ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
