Hi Chris, Yeah, that's exactly my problem as well. You spend x number of years learning languages like C, C++, Java, etc and you think you know it all and along comes Python having all these array types such as lists, dictionaries, sequences, etc all with miner differences and I can't figure out what exactly what I need or what equals what I already know. Its back translating sometimes from a more advanced concept to a less advanced one sometimes. this was always my gripe with languages like VB 6.
For instance, in Java and C++ you can extend or inherit classes etdc. When using VB 6 its classes were more simplified and didn't have all the features of something like Java or C++. Its like, "hay, I'm an advanced programmer here. Where is this or that feature I know exists in C++ but not VB 6?" Same kind of issue applies with Python. Its not so much that the language is bad, but it has its own way of doing things that drives a triditionally trained programmer slightly nuts. Its like going back and relearning everything all over again, because Python seems to ignore things a C++ programmer takes for granted. They take away a concept I know such as arrays and replaces it with three or four new alternatives. "Like why can't you guys just give me a basic array and be done with it?" Cheers! On 4/24/11, Christopher Bartlett <themusicalbre...@gmail.com> wrote: > Coming from a traditional language background, I have had to do a lot of > back-translation, lists/sequences/tuples to various arrays and the like, so > I get where you are coming from Thomas. It's weird having three different > data types that implement array-like behavior with teeny differences that > are nonetheless critical to proper code writing. I still haven't figured > out the purpose of tuples, and dictionaries look cool as heck but I can't > figure out how to turn them into something I recognize, though I've looked > at a number of examples of how to use them to create analogs to heaps, tree > structures and things I'm used to from the Pascal/C world. > > Chris Bartlett > > > > --- > Gamers mailing list __ Gamers@audyssey.org > If you want to leave the list, send E-mail to > gamers-unsubscr...@audyssey.org. > You can make changes or update your subscription via the web, at > http://audyssey.org/mailman/listinfo/gamers_audyssey.org. > All messages are archived and can be searched and read at > http://www.mail-archive.com/gamers@audyssey.org. > If you have any questions or concerns regarding the management of the list, > please send E-mail to gamers-ow...@audyssey.org. > --- Gamers mailing list __ Gamers@audyssey.org If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org. You can make changes or update your subscription via the web, at http://audyssey.org/mailman/listinfo/gamers_audyssey.org. All messages are archived and can be searched and read at http://www.mail-archive.com/gamers@audyssey.org. If you have any questions or concerns regarding the management of the list, please send E-mail to gamers-ow...@audyssey.org.