Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed4.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.008 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'compiler': 0.05; 'context': 0.05; 'removes': 0.05; 'suppose': 0.07; 'yeah,': 0.09; 'looked': 0.10; 'language': 0.14; 'applies': 0.15; 'crud': 0.16; 'dictionary.': 0.16; 'enough.': 0.16; 'fiddle': 0.16; 'friends)': 0.16; 'missing,': 0.16; 'pep8': 0.16; 'rotation': 0.16; 'somehow.': 0.16; 'wed,': 0.16; 'wrote:': 0.17; 'instance': 0.17; 'variables': 0.17; '(in': 0.18; 'jan': 0.18; '>>>': 0.18; 'code,': 0.18; 'variable': 0.20; 'mostly': 0.20; 'disable': 0.22; 'machine': 0.24; 'header:In-Reply-To:1': 0.25; 'header:User- Agent:1': 0.26; 'am,': 0.27; 'language.': 0.27; "doesn't": 0.28; 'chris': 0.28; 'changed.': 0.29; 'identifies': 0.29; 'shoot': 0.29; 'checks': 0.30; 'e.g.': 0.30; 'stuff': 0.30; 'sense': 0.31; 'point': 0.31; '(and': 0.32; 'gets': 0.32; 'implement': 0.32; 'mixed': 0.33; 'to:addr:python-list': 0.33; 'identified': 0.35; 'pm,': 0.35; 'really': 0.36; 'tool': 0.36; 'but': 0.36; "didn't": 0.36; "i'll": 0.36; 'should': 0.36; 'too': 0.36; 'author': 0.37; 'well.': 0.37; 'subject:: ': 0.38; 'mean': 0.38; 'some': 0.38; 'to:addr:python.org': 0.39; 'received:192': 0.39; 'short': 0.39; 'where': 0.40; 'received:192.168': 0.40; 'end': 0.40; 'think': 0.40; 'most': 0.61; 'remove': 0.61; 'real': 0.61; 'subject:, ': 0.61; 'first': 0.61; 'hearing': 0.61; 'time,': 0.62; 'future.': 0.62; 'subject:...': 0.63; 'hear': 0.63; 'more': 0.63; 'header :Reply-To:1': 0.68; 'business': 0.70; 'received:74.208': 0.71; 'reply-to:no real name:2**0': 0.72; 'yourself': 0.77; '2013': 0.84; 'subject:very': 0.91 Date: Wed, 02 Jan 2013 21:56:44 -0500 From: Dave Angel User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121011 Thunderbird/16.0.1 MIME-Version: 1.0 To: python-list@python.org Subject: Re: pylint, was Re: pygame - importing GL - very bad... References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:aj9J6dC7o43++JGl2BptwKmiIZKd7lPGYS7mhkHN2+W 6dVqefPDbNNWqb075iUXbmAbgL8vI/RI4GGtQLrVizEkbBXe6W 2e/J4xqw6eEsGcv1S7rbtIukZL9KKZtQDpwDO8nlcW9XUNnqz/ n5KtLp3sbGQUt0UaUSVExhjMclDVLRSK7iMEktDlo/a9J4mop2 EZdnLvenGz6Z3DTzSMU9GIq2ppgIZvxblzi+lhFLSSKYZkIo9c 1GaygNtjMe1wUgzPENpwlfFhZo1VCVb6ibMn6O3agBTFKr9+HR O+pZuNBKKGv/C3R3dr1m1Lz3xLGlux9xcmlbcmtxn/UAXrbdw= = X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: d@davea.name 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: 53 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1357182127 news.xs4all.nl 6862 [2001:888:2000:d::a6]:58342 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:36029 On 01/02/2013 09:31 PM, someone wrote: > On 01/02/2013 08:31 PM, Ian Kelly wrote: >> On Wed, Jan 2, 2013 at 10:57 AM, Chris Angelico >> wrote: >>> Yeah, same applies to most linters I think. You end up disagreeing >>> with the author on half the points. Oh well. Doesn't make the tool >>> useless, just means you need to fiddle with it to get it how you want >>> it. >> >> It's a lot less work to disable a check than to implement a desired >> check that is missing, so to me it's better that a linter do too much >> by default than not enough. > > I just started using pylint and some of the stuff it came up with is > REALLY good - so I'll definately use pylint, pep8 (and friends) more > in the future. And I think I'll also get to a point where I'll disable > some of the checks - as one of you wrote: How I name my variables is > (maybe) my own business and for instance I like a short variable name > once in a while, e.g. "rx", "ry", "rz" for rotation around x- y- and > z-axises and these variable names should not be changed. > > But can I ask you something: English is not my native language and I > looked up what "linter" means - but it's not in my dictionary. What > doet "linter" mean ? > > I don't suppose these exlanations are the same as you would give, in > the context you're using? > > http://www.wordreference.com/definition/linter > http://www.collinsdictionary.com/dictionary/american/linter > http://www.merriam-webster.com/dictionary/linter > > ? > The first lint program I recall hearing of was available in the early 1980's, and was for the C language. At the time, the C language was extremely flexible (in other words, lots of ways to shoot yourself in the foot) and the compiler was mostly of the philosophy - if there's a way to make sense of the statement, generate some code, somehow. Anyway, lint made sense to me as the crud that gets mixed in with the real fabric. And a linter is a machine that identifies and removes that crud. Well, the lint program didn't remove anything, but it identified a lot of it. I didn't hear the term linter till decades later. -- DaveA