Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #66653
| From | Grant Edwards <invalid@invalid.invalid> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Import order question |
| Date | 2014-02-18 22:44 +0000 |
| Organization | PANIX Public Access Internet and UNIX, NYC |
| Message-ID | <le0nos$t8u$1@reader1.panix.com> (permalink) |
| References | (3 earlier) <mailman.7110.1392666057.18130.python-list@python.org> <c25d98d8-ed6b-492a-85e7-4a241589f2ef@googlegroups.com> <mailman.7124.1392757348.18130.python-list@python.org> <b9cfd88b-32cc-4259-b269-08e99ff483b6@googlegroups.com> <mailman.7128.1392760171.18130.python-list@python.org> |
On 2014-02-18, Chris Angelico <rosuav@gmail.com> wrote:
> On Wed, Feb 19, 2014 at 8:44 AM, Rick Johnson
><rantingrickjohnson@gmail.com> 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"
>
> Yeah, actually I am.
Yup. And there are new-fangled tools like grep and vi/emacs that even
make it easy!
> At my last job, I had a single C++ file of roughly 5K lines, and it
> wasn't at all unmanageable. Probably wouldn't have been a problem to
> have another order of magnitude on that. What sort of wimpy text
> editor are you using that you can't find what you're looking for in a
> single large file? Less steps to get to the file, more searching
> within the file. Much easier.
Definitely. I've worked on a number C projects where the source code
was pointlessly split up into a whole slew of files. AFAICT, it
wasn't done to provide separate namespaces or for information hiding
or code reuse. It was just done to piss me off when I'm trying to find
something...
--
Grant Edwards grant.b.edwards Yow! Maybe I should have
at asked for my Neutron Bomb
gmail.com in PAISLEY --
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: Import order question Ben Finney <ben+python@benfinney.id.au> - 2014-02-18 06:40 +1100
Re: Import order question Rick Johnson <rantingrickjohnson@gmail.com> - 2014-02-18 12:41 -0800
Re: Import order question Chris Angelico <rosuav@gmail.com> - 2014-02-19 08:02 +1100
Re: Import order question Rick Johnson <rantingrickjohnson@gmail.com> - 2014-02-18 13:44 -0800
Re: Import order question Chris Angelico <rosuav@gmail.com> - 2014-02-19 08:49 +1100
Re: Import order question Grant Edwards <invalid@invalid.invalid> - 2014-02-18 22:44 +0000
Re: Import order question Tim Chase <python.list@tim.thechases.com> - 2014-02-18 16:17 -0600
Re: Import order question Grant Edwards <invalid@invalid.invalid> - 2014-02-18 22:45 +0000
Re: Import order question Rick Johnson <rantingrickjohnson@gmail.com> - 2014-02-18 14:49 -0800
Re: Import order question Rotwang <sg552@hotmail.co.uk> - 2014-02-18 23:28 +0000
Re: Import order question Rick Johnson <rantingrickjohnson@gmail.com> - 2014-02-18 15:41 -0800
Re: Import order question Rotwang <sg552@hotmail.co.uk> - 2014-02-19 01:09 +0000
Re: Import order question Steven D'Aprano <steve@pearwood.info> - 2014-02-19 07:32 +0000
Re: Import order question MRAB <python@mrabarnett.plus.com> - 2014-02-19 00:18 +0000
Re: Import order question Chris Angelico <rosuav@gmail.com> - 2014-02-19 12:57 +1100
Re: Import order question Steven D'Aprano <steve@pearwood.info> - 2014-02-19 07:32 +0000
Re: Import order question Chris Angelico <rosuav@gmail.com> - 2014-02-19 18:59 +1100
Re: Import order question Roy Smith <roy@panix.com> - 2014-02-19 08:28 -0500
csiph-web