Movatterモバイル変換
[0]ホーム
list vs tuple
Paul Prescodpaulp at ActiveState.com
Mon Apr 2 00:21:46 EDT 2001
deadmeat wrote:>> > Reset your brain.>> Anyone who thinks a programmer can do this is quite insane. I've been> programming since I was 7 or 8, and did advanced mathematics throughout> highschool. Forgetting such basic principles is not possible, esp. not with> the given documentation which gives nothing to fill that void until later.This thread could have gone better but let's see if we can retrievesomething useful from it.In my experience, deadmeat is totally right that reference semantics areone of the hardest things to learn in Python. In fact, they are one ofthe hardest things to learn in any language. Whenever I learn a newlanguage I go directly to learn its reference/parameter semanticsbecause I'm not going to really understand the language until Iunderstand those.That said, it is somewhat of a problem that the tutorial says so littleabout it. It also starts talking about it pretty late. There shouldprobably be a full chapter on it. Deadmeat: you could take all of theenergy that you've used posting to this thread to write a tutorialchapter based on the content in this thread and Fredrik's excellentsummary of the issues here:http://w1.132.telia.com/~u13208596/guides/python-objects.htm-- Take a recipe. Leave a recipe. Python Cookbook!http://www.ActiveState.com/pythoncookbook
More information about the Python-listmailing list
[8]ページ先頭