On Fri, 2011-02-18 at 13:01 +0530, openbala wrote: > > cannot be - otherwise python would not use it ;-) > > Well, to be fair to python, almost all documentations say that 'list' > is mutable and tuple should be used for immutability. > And just because a language uses a feature doesn't mean the feature is > a good practice. :)
for example python pep-008 lays down that try - except should be used very sparingly and if used should encase the smallest possible block of code. In this way one avoids swallowing up bugs. Whereas another language insists on putting everything inside exception handlers. So which is good practice. > > I'm not against python or anything like that, no need to get religious > on this. ;-) where is the fun if one is not religious? -- regards KG http://lawgon.livejournal.com Coimbatore LUG rox http://ilugcbe.techstud.org/ _______________________________________________ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
