Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.010 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'class,': 0.07; 'smallest': 0.07; 'currently,': 0.09; 'from:addr:ethan': 0.09; 'from:addr:stoneleaf.us': 0.09; 'from:name:ethan furman': 0.09; 'message-id:@stoneleaf.us': 0.09; '~ethan~': 0.09; 'editor,': 0.16; 'received:69.93': 0.16; 'subject:OOP': 0.16; 'wrote:': 0.18; 'header:User-Agent:1': 0.23; 'file.': 0.24; 'source': 0.25; 'nearly': 0.26; 'header:In-Reply-To:1': 0.27; 'largest': 0.30; "i'm": 0.30; 'lines': 0.31; 'are.': 0.31; 'though.': 0.31; 'subject:from': 0.34; 'problem': 0.35; 'there': 0.35; 'curious': 0.36; 'subject:one': 0.36; 'charset:us-ascii': 0.36; 'should': 0.36; 'to:addr:python-list': 0.38; 'files': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'received:173': 0.61; 'email addr:gmail.com': 0.63; 'between': 0.67; '01:57': 0.84; 'single,': 0.84; 'subject:Moving': 0.84 Date: Wed, 23 Apr 2014 14:42:45 -0700 From: Ethan Furman User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 MIME-Version: 1.0 To: python-list@python.org Subject: Re: Moving to an OOP model from an classically imperitive one References: <80a82415-fc67-4ccf-8827-27a0ba5459b7@googlegroups.com> In-Reply-To: <80a82415-fc67-4ccf-8827-27a0ba5459b7@googlegroups.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator3304.hostgator.com X-AntiAbuse: Original Domain - python.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - stoneleaf.us X-BWhitelist: no X-Source-IP: 173.12.184.233 X-Exim-ID: 1Wd4wu-00008K-4e X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: ([173.12.184.233]) [173.12.184.233]:56717 X-Source-Auth: ethan+stoneleaf.us X-Email-Count: 2 X-Source-Cap: dG9idWs7dG9idWs7Z2F0b3IzMzA0Lmhvc3RnYXRvci5jb20= X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 14 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1398293527 news.xs4all.nl 2914 [2001:888:2000:d::a6]:51542 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:70553 On 04/23/2014 01:57 PM, tim.thelion@gmail.com wrote: > > There is one problem though. Currently, I have these functions logically > organized into source files, each between 40 and 170 LOC. I fear that if > I were to put all of these functions into one class, than I would have a > single, very large source file. I don't like working with large source > files for practicall reasons. I'm curious what these practical reasons are. One my smallest source files has 870 lines in it, my largest nearly 9000. If the problem is your editor, you should seriously consider switching. -- ~Ethan~