Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #50538

Re: Understanding other people's code

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder5.xlned.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <esj@harvee.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.090
X-Spam-Evidence '*H*': 0.82; '*S*': 0.00; 'subject:code': 0.07; 'bits': 0.09; 'highlighting': 0.09; 'inherited': 0.09; 'function).': 0.16; 'inheritance': 0.16; 'index': 0.16; 'charset:iso-8859-15': 0.16; 'wrote:': 0.18; 'header:User- Agent:1': 0.23; 'sort': 0.25; 'class.': 0.26; 'defined': 0.27; 'header:In-Reply-To:1': 0.27; 'idea': 0.28; 'appreciated.': 0.29; 'code': 0.31; 'subject:other': 0.31; 'class': 0.32; 'fri,': 0.33; 'moment': 0.34; 'really': 0.36; 'doing': 0.36; 'useful': 0.36; 'handle': 0.38; 'to:addr:python-list': 0.38; 'does': 0.39; 'help,': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'how': 0.40; 'truly': 0.60; "you're": 0.61; 'first': 0.61; 'hear': 0.63; 'containing': 0.69; 'jul': 0.74; 'glad': 0.83; 'cards,': 0.84; 'subject:people': 0.84; '2013': 0.98
X-Virus-Scanned amavisd-new at harvee.org
Content-Type text/plain; charset=iso-8859-15; format=flowed; delsp=yes
To python-list@python.org
Subject Re: Understanding other people's code
References <66c25416-eaa5-4ac1-a71d-2b2948dec2fb@googlegroups.com>
Date Fri, 12 Jul 2013 12:04:45 -0400
MIME-Version 1.0
Content-Transfer-Encoding 7bit
From "Eric S. Johansson" <esj@harvee.org>
In-Reply-To <66c25416-eaa5-4ac1-a71d-2b2948dec2fb@googlegroups.com>
User-Agent Opera Mail/1.0 (Win32)
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.4644.1373645093.3114.python-list@python.org> (permalink)
Lines 16
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1373645093 news.xs4all.nl 15908 [2001:888:2000:d::a6]:33112
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:50538

Show key headers only | View raw


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 | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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