News for hackers. Stuff that matters.
Re:Python: copying a list the right way by ak217 on Sunday November 06, 2011 @01:49AM (#3201974)
Python is committed to code readability. It has nothing to do with people being dumb. It has to do with making a language which is cognitively compatible with a spoken language that we have been practicing every day since birth. var[:] is obscure and requires more mental effort to parse than list(var). Because of that, it's preferable to var[:] from a readability standpoint as well.

There are no comments on this comment yet.