Movatterモバイル変換
[0]ホーム
list vs tuple
Donn Cavedonn at u.washington.edu
Mon Apr 2 12:06:49 EDT 2001
Quoth Mike Prager <mprager at alum.mit.edu>:| I repeat that I'm not expressing an opinion about what is| "better," just that Python's behavior is somewhat| idiosyncratic and should carry a caution label for beginners.I don't know if I would have put it that way, but we agree thatit should be on the introductory documentation plate. There aresome who feel that the object/reference model shouldn't need tobe explained, it will just work and people will naturally get it.You don't need to be as obtuse as Mr. deadmeat to miss the boaton that, though, and it's a shame because this is one of thereal jewels of Python, when you understand it.I suspect the big challenge here is that the Python world hasbought into the notion that Python can be the programming languagefor non-programmers, and they can't see sitting down with anot-even-wannabe-programmer and explaining references. Therefore,it must not be necessary to understand references to write usefulprograms in Python.Donn Cave,donn at u.washington.edu
More information about the Python-listmailing list
[8]ページ先頭