Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #108371

Re: Pylint prefers list comprehension over filter...

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Christopher Reimer <christopher_reimer@icloud.com>
Newsgroups comp.lang.python
Subject Re: Pylint prefers list comprehension over filter...
Date Sun, 08 May 2016 09:57:31 -0700
Lines 67
Message-ID <mailman.522.1462726654.32212.python-list@python.org> (permalink)
References <572BF2BF.6000000@icloud.com> <1462498631.232041.599637409.25D91C08@webmail.messagingengine.com> <572E3F53.5010703@icloud.com> <CAPTjJmo29JkU=Fyoe2oMk5q5M9pxTF8aOki0Yx989W163k9Qhg@mail.gmail.com> <572E65B2.4010305@icloud.com> <mailman.479.1462658486.32212.python-list@python.org> <572f2aec$0$1583$c3e8da3$5496439d@news.astraweb.com> <572F6FFB.4060900@icloud.com>
Mime-Version 1.0
Content-Type text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding 7bit
X-Trace news.uni-berlin.de Xl6Hiui8Uk3BvPp9Wo4FBQKxgyXQWX5zn0QjXyAb/IGw==
Return-Path <christopher_reimer@icloud.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.075
X-Spam-Evidence '*H*': 0.85; '*S*': 0.00; 'python,': 0.02; 'installed.': 0.05; 'default.': 0.07; 'subject:skip:c 10': 0.07; 'recruiters': 0.09; 'exception': 0.13; 'pushed': 0.13; 'django': 0.13; '2016': 0.16; 'jobs.': 0.16; 'memo': 0.16; 'programmer,': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'something.': 0.16; 'url:pep-0008': 0.16; 'wording': 0.16; 'wrote:': 0.16; 'gui': 0.18; '>>>': 0.20; 'all,': 0.20; 'recruiter': 0.20; '(see': 0.20; 'background.': 0.20; 'posted': 0.21; 'meant': 0.22; '(all': 0.22; "aren't": 0.22; 'mind.': 0.22; 'am,': 0.23; 'absolute': 0.23; "haven't": 0.24; 'tried': 0.24; "i've": 0.25; 'header:User- Agent:1': 0.26; 'subject:list': 0.26; 'command': 0.26; 'installed': 0.26; 'linux': 0.26; 'chris': 0.26; 'equivalent': 0.27; 'received:17': 0.27; 'tend': 0.27; 'this.': 0.28; 'argue': 0.29; 'fedora': 0.29; 'filed': 0.29; 'pep': 0.29; 'url:peps': 0.29; 'admin': 0.29; 'code': 0.30; 'guess': 0.31; 'received:10.0.0': 0.32; 'generally': 0.32; 'run': 0.33; 'url:python': 0.33; "d'aprano": 0.33; 'requirement.': 0.33; 'steven': 0.33; 'surprised': 0.33; 'received:10.0': 0.34; 'stopped': 0.35; 'url:dev': 0.35; 'remote': 0.35; 'according': 0.36; 'url:org': 0.36; 'alone': 0.36; "wasn't": 0.36; 'to:addr :python-list': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'received:10': 0.37; 'hiring': 0.37; 'several': 0.38; 'thank': 0.38; 'sure': 0.39; "didn't": 0.39; 'to:addr:python.org': 0.40; 'where': 0.40; 'some': 0.40; 'company': 0.60; 'header:MIME- version:1': 0.60; 'ever': 0.60; 'your': 0.60; 'ago.': 0.61; 'default': 0.61; 'eye': 0.61; 'charset:windows-1252': 0.62; 'making': 0.62; 'is.': 0.63; 'more': 0.63; 'different': 0.63; 'managers': 0.63; 'qualified': 0.63; 'director': 0.63; 'positions': 0.64; 'delegate': 0.66; 'department.': 0.66; 'judge': 0.66; 'rare': 0.66; "they're": 0.66; 'fact,': 0.67; 'phone': 0.68; 'applying': 0.70; 'marketing': 0.72; 'gotten': 0.76; 'checklist': 0.84; 'compliance,': 0.84; 'declined': 0.84; 'header:In-reply- to:1': 0.84; 'holes': 0.84; 'inexpensive': 0.84; 'judgement': 0.84; 'recruiters.': 0.84; 'subject:over': 0.84; 'dozen': 0.91; 'good,': 0.93; 'luck': 0.95
X-Proofpoint-Virus-Version vendor=fsecure engine=2.50.10432:,, definitions=2016-05-08_09:,, signatures=0
X-Proofpoint-Spam-Details rule=notspam policy=default score=0 spamscore=0 clxscore=1015 suspectscore=1 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1510270003 definitions=main-1605080245
User-Agent Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2
In-reply-to <572f2aec$0$1583$c3e8da3$5496439d@news.astraweb.com>
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=4d515a; t=1462726651; bh=EYON0oZO7KyjBKLcAAvOub8bSala9vvjqtvRsVCh2MY=; h=Subject:To:From:Message-id:Date:MIME-version:Content-type; b=e4lLH3MX5eupQ101vyq4HFAOG13w08EiioOwU7s6AV5kTQAi3W58+pKrIO2/Ck3y/ umBgqyKpfHGTyZZ1+3rQqB3EVG3Zr9Z9WKeEeDubGxoodKo7XWHngJpBQOaXz9ynXR jdcjmVvSrgk/n+g80XENwG5WV7GytJzJ8/9+P3YQtTc8aOI6+76RSorl0X4V8Kk2lu +LiB3I3/rBXtSonWpEDy+TrKLy9wl5KikTzHDy7yv347NRRo3URe3B53ulzrV9E0zs F/KkQuELf1uJhpLxKZwXUnz+8piYFE3dbdzNOBjdB+AKRww73B+pDqqE49a8vfU2bM GMz5VsMqksg3g==
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.22
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID <572F6FFB.4060900@icloud.com>
X-Mailman-Original-References <572BF2BF.6000000@icloud.com> <1462498631.232041.599637409.25D91C08@webmail.messagingengine.com> <572E3F53.5010703@icloud.com> <CAPTjJmo29JkU=Fyoe2oMk5q5M9pxTF8aOki0Yx989W163k9Qhg@mail.gmail.com> <572E65B2.4010305@icloud.com> <mailman.479.1462658486.32212.python-list@python.org> <572f2aec$0$1583$c3e8da3$5496439d@news.astraweb.com>
Xref csiph.com comp.lang.python:108371

Show key headers only | View raw


On 5/8/2016 5:02 AM, Steven D'Aprano wrote:
> On Sun, 8 May 2016 08:01 am, Christopher Reimer wrote:
>
>> On 5/7/2016 2:22 PM, Chris Angelico wrote:
>
>>> Also, be sure you read this part of PEP 8:
>>>
>>>
> https://www.python.org/dev/peps/pep-0008/#a-foolish-consistency-is-the-hobgoblin-of-little-minds
>> Recruiters and hiring managers *are* hobgoblins with with little minds.
>> And definitely not PEP8-complaint. :)
>
> Do you think that recruiters and hiring managers read your code at all, let
> alone that they read it will an eye to PEP 8 compliance?

I meant more than a few technical professionals who got pushed out of 
the job to become recruiters. They tend to ask about everything on the 
resume to poke holes where they can. Each time I tightened the wording 
of my resume whenever they exposed something. If I posted a GitHub link 
on my resume, they *would* check it out. If they know Python, they 
*would* run it.

As for PEP 8 compliance, it was a joke (see the smiley). Laugh, it was 
funny.

> No recruiter[1] will do this. No recruiter will even know what PEP 8 is.
> They're looking for technical buzzwords ("ten years experience with
> Django"), they aren't qualified to judge whether your Django code is good,
> bad or indifferent. That's up to the client.

When I used to apply to Linux system admin jobs, the recruiters would 
have a checklist box for the "Red Hat GUI Thing" as an absolute 
requirement. My Linux work experience was exclusively remote command 
line. On the rare occasions that I have used the Linux GUI, I always 
used what got installed as the default GUI for Fedora or Mint.

The first time I said I didn't know what the "Red Hat GUI Thing" was and 
explained that I was fast learner, the recruiter hung up on me. I tried 
to argue with other recruiters that I knew the command line equivalent 
for the GUI. No dice. Some recruiters even accused me of making up 
techno-babble. They all hung up on me. After a dozen phone calls like 
that (all for positions at different companies), I generally stopped 
applying to Linux jobs.

This year I built an inexpensive PC to run Linux and installed the 
current Red Hat Linux. Guess what? The "Red Hat GUI Thing" wasn't 
installed. In fact, the GUI was Gnome by default. According to my 
coworkers, Red Hat started phasing out their own branded GUI several 
years ago. I guess the recruiters haven't gotten the memo yet, as I had 
a phone call about the "Red Hat GUI Thing" last year.

> A hiring manager with a technical background might, once you are in
> consideration for the job. More likely they will delegate any judgement to
> a technical manager, or programmer, who may or may not be a hobgoblin with
> a little mind.

Every hiring manager I've ever interviewed with had a technical 
background. The only exception was when the final interview was with the 
marketing director at hardware company. I declined to take the job. If 
you know your Dilbert, it's bad luck when a hardware company is run by 
the marketing department. I wasn't surprised that the company filed 
bankruptcy a few years later.

Thank you,

Chris R.

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: Pylint prefers list comprehension over filter... Christopher Reimer <christopher_reimer@icloud.com> - 2016-05-07 15:01 -0700
  Re: Pylint prefers list comprehension over filter... Steven D'Aprano <steve@pearwood.info> - 2016-05-08 22:02 +1000
    Re: Pylint prefers list comprehension over filter... Christopher Reimer <christopher_reimer@icloud.com> - 2016-05-08 09:57 -0700

csiph-web