[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Import order question

In article <le108a$oip$1 at dont-email.me>, Rotwang  <sg552 at hotmail.co.uk> wrote:
>On 18/02/2014 23:41, Rick Johnson wrote:
>> On Tuesday, February 18, 2014 5:28:21 PM UTC-6, Rotwang wrote:
>[snipped material restored for context]
>>> On 18/02/2014 21:44, Rick Johnson wrote:
>>>> [...]
>>>> Are you telling me you're willing to search through a single
>>>> file containing 3,734 lines of code (yes, Tkinter) looking
>>>> for a method named "destroy" of a class named "OptionMenu"
>>>> (of which three other classes contain a method of the same
>>>> exact name!), when all you needed to do was open one single
>>>> module named "tk_optionmenu.py" and do a single search for
>>>> "def destroy"?
>>>> You must be trolling!
>>> I have music software that's a single 9K-line Python module, which I
>>> edit using Notepad++ or gedit. If I wish to find e.g. the method "edit"
>>> of class "sequence" I can type
>>>       <Ctrl-f>class seq<Return>def edit(<Return
>> This is not about "how to use a search function"
>No, it's about your incredulity that someone would search for a method
>in a large file that contains several methods of the same name. However,
>the existence of search functions makes this completely trivial.

And then there is folding editors, and tagfiles.

Groetjes Albert
Economic growth -- being exponential -- ultimately falters.
albert at spe&ar&c.xs4all.nl &=n http://home.hccnet.nl/a.w.m.van.der.horst