Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #50538
| Subject | Re: Understanding other people's code |
|---|---|
| References | <66c25416-eaa5-4ac1-a71d-2b2948dec2fb@googlegroups.com> |
| Date | 2013-07-12 12:04 -0400 |
| From | "Eric S. Johansson" <esj@harvee.org> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.4644.1373645093.3114.python-list@python.org> (permalink) |
On Fri, 12 Jul 2013 10:22:59 -0400, L O'Shea <lo0446@my.bristol.ac.uk> wrote: > Literally any idea will help, pen and paper, printing off all the code > and doing some sort of highlighting session - anything! I keep reading > bits of code and thinking "well where the hell has that been defined and > what does it mean" to find it was inherited from 3 modules up the chain. > I really need to get a handle on how exactly all this slots together! > Any techniques,tricks or methodologies that people find useful would be > much appreciated. glad to hear you're having a WTF moment (what's that function). Suggestion would be index cards, each containing notes on a class. truly understand what each parent class is in which methods are to be overloaded. Then look at one child and understand how it. Work your way breadth first down the inheritance tree.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Understanding other people's code "L O'Shea" <lo0446@my.bristol.ac.uk> - 2013-07-12 07:22 -0700
Re: Understanding other people's code Chris Angelico <rosuav@gmail.com> - 2013-07-13 00:46 +1000
Re: Understanding other people's code Peter Otten <__peter__@web.de> - 2013-07-12 17:21 +0200
Re: Understanding other people's code "Eric S. Johansson" <esj@harvee.org> - 2013-07-12 12:04 -0400
Re: Understanding other people's code Terry Reedy <tjreedy@udel.edu> - 2013-07-12 18:11 -0400
Re: Understanding other people's code Joel Goldstick <joel.goldstick@gmail.com> - 2013-07-12 19:49 -0400
Re: Understanding other people's code CM <cmpython@gmail.com> - 2013-07-13 23:58 -0700
Re: Understanding other people's code Azureaus <lo0446@my.bristol.ac.uk> - 2013-07-15 03:02 -0700
Re: Understanding other people's code CM <cmpython@gmail.com> - 2013-07-15 12:13 -0700
Re: Understanding other people's code albert@spenarnc.xs4all.nl (Albert van der Horst) - 2013-07-27 13:13 +0000
Re: Understanding other people's code Chris Angelico <rosuav@gmail.com> - 2013-07-27 14:41 +0100
Re: Understanding other people's code asimjalis@gmail.com - 2013-07-15 19:10 -0700
Re: Understanding other people's code David M Chess <chess@us.ibm.com> - 2013-07-16 14:38 -0400
Re: Understanding other people's code David Hutto <dwightdhutto@gmail.com> - 2013-07-16 20:05 -0400
Re: Understanding other people's code David Hutto <dwightdhutto@gmail.com> - 2013-07-19 22:57 -0400
Re: Understanding other people's code Azureaus <lo0446@my.bristol.ac.uk> - 2013-07-25 09:26 -0700
csiph-web