Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed5.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.101 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.80; '*S*': 0.00; 'sorts': 0.04; 'written.': 0.07; 'pm,': 0.11; 'programmer': 0.11; 'say,': 0.14; 'wrote:': 0.14; 'explanation': 0.16; 'recipes': 0.16; "he's": 0.19; 'programming': 0.20; 'subject:list': 0.22; 'header:In-Reply-To:1': 0.22; 'thu,': 0.22; 'properly': 0.25; 'expect': 0.26; "i'm": 0.26; "i'll": 0.26; 'chris': 0.27; 'message-id:@mail.gmail.com': 0.28; 'all.': 0.30; 'expertise': 0.30; "won't": 0.30; 'calculate': 0.31; 'it.': 0.31; 'engineering': 0.31; "can't": 0.31; 'to:addr:python- list': 0.32; 'another': 0.32; 'someone': 0.33; 'requires': 0.35; 'properties': 0.36; 'received:209.85': 0.37; 'exactly': 0.37; 'received:google.com': 0.38; 'but': 0.38; 'software': 0.38; 'completely': 0.38; 'explain': 0.39; 'to:addr:python.org': 0.39; 'received:209': 0.39; 'how': 0.39; 'would': 0.40; "it's": 0.40; 'header:Received:5': 0.40; 'exact': 0.60; 'order': 0.61; '2011': 0.62; 'piece': 0.63; 'truly': 0.64; 'industry,': 0.65; 'here': 0.65; 'kinds': 0.67; 'fulfill': 0.68; 'become': 0.70; 'join.': 0.73; 'received:209.85.210.174': 0.84; 'received:mail- iy0-f174.google.com': 0.84; 'ultimately,': 0.84; 'task,': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=JUsTM2t7FbBaJunBWu1ya7tIJPFZwNAcdCzbEOvaxRg=; b=DU4I5tbPxAPXrs7PDrho9m46/pify+r44wpqxEFd49P0lbEmdMuDjIW/Ef5VAvy8NX yf0eg2wRf7sSr23vA1zzHrcYyi4QNf9pwBgV29iwyNx84VySdHUJK7PETzRKhDHt+6UO MsxcJo+tWzOwbFp/Po90xBURbWExLQR4Bvw5k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=OJ7FzURd0jcaWYKImfJP1uehJPvcnAc4VuA968kswpseHgSlEGO3RGV2KQknz/ocvE vb5Y5WDp7UeOrPkufoH1m12A+k0cVttBEYi6dcvxvHbfXQrHPALCXfW3qe7lWjKE84VG fw6T5nAtgyuh4dYCf4/HguEtXT/8chxBhprJ4= MIME-Version: 1.0 In-Reply-To: <791t98-659.ln1@svn.schaathun.net> References: <9hYwp.5805$xo2.3333@newsfe07.iad> <4dc502c7$0$29991$c3e8da3$5496439d@news.astraweb.com> <791t98-659.ln1@svn.schaathun.net> Date: Thu, 12 May 2011 23:20:20 +1000 Subject: Re: checking if a list is empty From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 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: 27 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1305206423 news.xs4all.nl 41114 [::ffff:82.94.164.166]:57891 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:5234 On Thu, May 12, 2011 at 10:43 PM, Hans Georg Schaathun w= rote: > On Thu, 12 May 2011 22:16:10 +1000, Chris Angelico > =A0 wrote: > : =A0Anyone can join. Not everyone wants to join. Me, I'm happy here as a > : =A0priest of the software industry, and I have no desire to become a > : =A0priest of, say, automotive engineering or concrete pouring. Would an > : =A0expert concreter be expected to explain to me exactly how to make > : =A0different sorts of concrete, or would he be expected simply to fulfi= ll > : =A0his contract and provide me with my structure? > > Of course he would. =A0When a piece of software to calculate the > properties or recipes for different kinds of concrete is needed. Writing a program requires expertise both in programming and in the purpose for which it's being written. Ultimately, a programmer is a translator; without proper comprehension of the material he's translating, he can't make a clear translation. But that's completely different from hiring someone to do a job, and then looking at the job afterwards; if I order a concreting job, I'll look at whether it's properly suited to the task, but I won't expect an explanation of exactly what went into it, and I do not expect to understand the exact chemistry of it. Only another expert in concrete would truly comprehend it all. Chris Angelico