Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.albasani.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.011 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; '(even': 0.05; 'function,': 0.07; 'cursor': 0.09; 'higher-level': 0.09; 'subject:still': 0.09; 'subject:python': 0.11; 'dec': 0.15; ':-p': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'function;': 0.16; 'locating': 0.16; 'numbers;': 0.16; 'twenty': 0.16; 'wrote:': 0.17; 'subject:need': 0.17; 'jan': 0.18; 'code,': 0.18; 'code.': 0.20; 'all,': 0.21; 'trying': 0.21; 'assuming': 0.22; 'context.': 0.22; 'lets': 0.22; 'rapidly': 0.22; "i'd": 0.22; 'demonstrate': 0.23; 'header:In-Reply-To:1': 0.25; 'message- id:@mail.gmail.com': 0.27; 'correct': 0.28; 'lines': 0.28; 'chris': 0.28; 'about.': 0.29; "d'aprano": 0.29; 'feature,': 0.29; 'pertinent': 0.29; 'quoting': 0.29; 'steven': 0.29; 'no,': 0.29; 'class': 0.29; "i'm": 0.29; 'that.': 0.30; 'expect': 0.31; 'code': 0.31; 'point': 0.31; 'gets': 0.32; 'much.': 0.33; 'to:addr:python- list': 0.33; 'likely': 0.33; 'that,': 0.34; 'received:google.com': 0.34; 'screen': 0.34; 'pm,': 0.35; 'received:209.85.220': 0.35; 'subject:?': 0.35; 'received:209.85': 0.35; 'there': 0.35; 'next': 0.35; 'explain': 0.36; 'but': 0.36; 'wanted': 0.36; 'method': 0.36; 'useful': 0.36; "i'll": 0.36; 'too': 0.36; 'two': 0.37; 'subject:New': 0.37; 'received:209': 0.37; 'far': 0.37; 'subject:: ': 0.38; 'object': 0.38; 'some': 0.38; 'talk': 0.38; 'to:addr:python.org': 0.39; 'takes': 0.39; 'called': 0.39; 'header:Received:5': 0.40; 'think': 0.40; 'your': 0.60; 'real': 0.61; 'subject:, ': 0.61; 'more': 0.63; 'boss': 0.65; 'talking': 0.66; 'sum': 0.66; 'vital': 0.75; '2013': 0.84; 'brain,': 0.84; 'presumably': 0.84; 'subject:good': 0.84; 'sitting': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=CXq0ptfd5QcjaF4nYeznx4XPtw1bCx+xNa0oVJ3xyW8=; b=PYXb9yw66lhM31E11kgSCcC3axumZKHLF5ueOePAp1uYvnOacVkX68DL0hubJh7sRa mihGTRF9vLqUEK0/5pdChHj0SomthFd0g3ExS7ZPNbsdFCZE0sfApqRVXJe3loFNuRoI MVDXVC458N1QWNqu6pgrpFZBaemxJI26KwTVeemHPRr52O8A8Gu/KA9TnsHEsHP/LFf0 ZRPeVjDmlDYwdjS14BcjdCJKokef7UJGu9NfhiwqhXyEk00S1Wgml1AvqPg5VE5jh+T8 DLqIZ0+s0Xv0nv3u1l/kWNzkG69mBtHK7cNXVTxwXw8aF+WsVWeddOIk6OC603JezBRI PuoA== MIME-Version: 1.0 In-Reply-To: <50e25e38$0$30003$c3e8da3$5496439d@news.astraweb.com> References: <50e25e38$0$30003$c3e8da3$5496439d@news.astraweb.com> Date: Tue, 1 Jan 2013 15:20:13 +1100 Subject: Re: New to python, do I need an IDE or is vim still good enough? From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 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: 39 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1357014022 news.xs4all.nl 6908 [2001:888:2000:d::a6]:60841 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:35877 On Tue, Jan 1, 2013 at 2:55 PM, Steven D'Aprano wrote: > On Sun, 30 Dec 2012 09:30:10 +1100, Chris Angelico wrote: > >> Absolutely! Though it's roughly as good to have the current cursor >> position shown in a status line somewhere, and takes up less real >> estate. But yes, vital to be able to see that. Even when I'm sitting >> *right next to* my boss and communicating verbally, I'll talk about the >> code by quoting line numbers. "Let me explain. (No, there is too much. >> Let me sum up.) Pull up foobar dot jay ess and go to line 254-ish - see >> how the frobnosticator always gets called with a quuxed argument?" > > I call shenanigans :-P > > I don't expect that you keep in your head the line numbers (even the line > numbers-ish) of interesting or pertinent features of your code, > *especially* while the code is in active development and the line numbers > are rapidly changing. I think it is far more likely that you keep > function, class or method names in your head (after all, you are > presumably reading and writing those names very often), and when you want > to demonstrate some feature, you *first* look it up by higher-level > object ("let's see the frob_quux function") to get the line number. Neither. You're correct that I don't memorize line numbers; but the point of them was not to synchronize a screen with a brain, but to synchronize two screens. So you're also correct that I look it up to get the line number. But I'm not locating a function; if I wanted that, I'd use that. No, I'm pointing to a specific line of code. > Assuming that your functions and methods are not obnoxiously huge, I > think having a good class browser which lets you jump directly to > functions or methods is *far* more useful than line numbers, in this > context. They're not obnoxiously huge, but even twenty lines is too coarse when you're trying to explain one line of code. Way too coarse. I want to pinpoint what I'm talking about. ChrisA