Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed1.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.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'lines,': 0.05; 'integrations': 0.07; 'overflow': 0.07; 'cursor': 0.09; 'git': 0.09; 'grep': 0.09; 'oh,': 0.09; 'subject:still': 0.09; 'yeah,': 0.09; 'subject:python': 0.11; 'language': 0.14; 'dec': 0.15; 'stack': 0.15; "-n'": 0.16; 'decent': 0.16; 'fits': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'headers.': 0.16; 'line).': 0.16; 'margin': 0.16; 'roy': 0.16; 'tool.': 0.16; 'wrote:': 0.17; 'subject:need': 0.17; 'systems.': 0.18; 'trying': 0.21; 'combination': 0.22; 'http': 0.22; 'errors': 0.23; 'tools,': 0.23; "i've": 0.23; 'command': 0.24; 'script': 0.24; 'header:In-Reply-To:1': 0.25; 'fit': 0.26; 'am,': 0.27; 'message-id:@mail.gmail.com': 0.27; 'there.': 0.28; 'lines': 0.28; 'chris': 0.28; 'run': 0.28; '"in': 0.29; 'far,': 0.29; 'loop,': 0.29; 'piece': 0.29; 'quoting': 0.29; 'yes.': 0.29; 'integration': 0.29; 'no,': 0.29; "i'm": 0.29; 'that.': 0.30; 'figure': 0.30; 'code': 0.31; 'point': 0.31; 'gets': 0.32; 'much.': 0.33; 'programming,': 0.33; 'to:addr:python-list': 0.33; 'version': 0.34; 'received:google.com': 0.34; 'text': 0.34; 'doing': 0.35; 'received:209.85.220': 0.35; 'too.': 0.35; 'subject:?': 0.35; 'similar': 0.35; "won't": 0.35; 'received:209.85': 0.35; 'something': 0.35; 'there': 0.35; 'next': 0.35; 'tool': 0.36; 'but': 0.36; 'compare': 0.36; 'useful': 0.36; "i'll": 0.36; 'too': 0.36; 'turn': 0.36; 'editor': 0.37; 'why': 0.37; 'subject:New': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'some': 0.38; 'things': 0.38; 'talk': 0.38; 'there,': 0.38; 'to:addr:python.org': 0.39; 'takes': 0.39; 'called': 0.39; 'header:Received:5': 0.40; 'group,': 0.60; 'days': 0.60; 'real': 0.61; 'subject:, ': 0.61; 'personally': 0.61; 'kind': 0.61; 'back': 0.62; '30,': 0.62; 'within': 0.64; 'gone': 0.64; 'boss': 0.65; 'sum': 0.66; 'smith': 0.71; 'forth': 0.75; 'vital': 0.75; 'article': 0.78; 'subject:good': 0.84; 'sitting': 0.93; 'imagine': 0.96 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=ivZy4fbGqCqAsLHvB+YkxlveVt/hhP0ZnMxOHWn9la4=; b=CeMHpihGah99JOpq2ZNpIF2OcduFtWvJO62E6rPQfNMqwFi7QONb8371Q6LTI4s6Dq FbYshKgDTp/ywDnAIzPx7CtUSgDuNFvDGkwZ3CI1D2Y4QBx7giQxeUPPEzn3n+epg49f P2+Oa2uSkszTpw4nqAdrho10LiY/hEByIbYMQmIeYcJIKWqgqT9mx8bInmzJxZH4lwsh mE79J9SXNlY4QpIAMKwCvctFn8zoap6plzv3hqHiTZep+yCft639kBQKPe9uY71dfVMe R6soOXHF/iaP77H90Gp5LAE+9piCkv/fnZ/CE+WIhCGnAbbh3B5nQzcAs7Pfj0toXvet ssDg== MIME-Version: 1.0 In-Reply-To: References: Date: Sun, 30 Dec 2012 09:30:10 +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: 49 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1356820213 news.xs4all.nl 6859 [2001:888:2000:d::a6]:38417 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:35787 On Sun, Dec 30, 2012 at 8:52 AM, Roy Smith wrote: > In article , > Chris Angelico wrote: > >> It's extremely handy; not only errors from >> compilation/execution, but things like a 'git grep -n' fit too. > > Emacs has integrations with many version control systems. Over the > years, I've gone back and forth over whether I do my version control > from within emacs or at the command line. My point was that it fits _many_ tools, without specific integration with the tool. But yes, version control integration is a useful tool (though not one I've personally made use of - I just run git commands from the command line). > Again, I would imagine any decent editor these days would have something > similar. It just blows my mind when I see people editing program text > with NotePad or some similar piece of crap. Yes. And then hopping over to Stack Overflow and trying to figure out why their PHP script won't create HTTP headers. Combination of poor language and poor editor... > Oh, yeah, one other thing I forgot. You want to use an editor which can > (preferably as something you can turn on and off easily) put line > numbers down the left margin of the screen. For solo editing, it's kind > of silly. But if you're doing any kind of pair programming, code > review, or presentation to a group, it's invaluable. Compare and > contrast: > > "In the big for loop, a couple of lines down, no, not there, the other > for loop, yeah, now go down a couple of lines, no that's too far, back > up one. Yeah there. On that line, why do you ..." > > with: > > "On line 647, why do you ..." 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?" ChrisA