Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder1.xlned.com!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; 'from:addr:yahoo.co.uk': 0.04; 'languages.': 0.04; 'subject:Python': 0.06; '1999,': 0.07; 'assumed': 0.09; 'lawrence': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'seemed': 0.09; 'subject:language': 0.09; 'bug': 0.12; 'language.': 0.14; '1998': 0.16; '80s,': 0.16; 'digits.': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'roy': 0.16; 'subject: \n ': 0.16; 'subject:programming': 0.16; 'two-digit': 0.16; 'followed': 0.16; 'do,': 0.16; 'language': 0.16; 'wrote:': 0.18; 'later': 0.20; 'written': 0.21; '>>>': 0.22; 'issue.': 0.22; 'header:User- Agent:1': 0.23; 'issue,': 0.24; 'sort': 0.25; 'equivalent': 0.26; 'subject:/': 0.26; 'defined': 0.27; 'gets': 0.27; 'header:X -Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'fixed': 0.29; 'external': 0.29; 'on,': 0.29; '[1]': 0.29; 'bigger': 0.30; 'dec': 0.30; 'code': 0.31; '>>>>': 0.31; 'apparently': 0.31; "d'aprano": 0.31; 'fixing': 0.31; 'steven': 0.31; 'probably': 0.32; 'supposed': 0.32; 'charge': 0.33; 'bugs': 0.33; 'not.': 0.33; 'programmers': 0.33; 'knowledge': 0.35; 'skip:u 20': 0.35; 'but': 0.35; 'there': 0.35; 'really': 0.36; 'dates': 0.36; "didn't": 0.36; 'two': 0.37; 'somebody': 0.38; 'to:addr:python- list': 0.38; 'contract': 0.38; 'that,': 0.38; 'little': 0.38; 'expect': 0.39; 'does': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'how': 0.40; 'even': 0.60; 'authority': 0.60; 'most': 0.60; 'corporation': 0.61; 'new': 0.61; 'simply': 0.61; 'back': 0.62; 'field': 0.63; 'our': 0.64; 'different': 0.65; 'smith': 0.68; 'staff.': 0.68; 'saving': 0.69; 'quality': 0.72; 'bank': 0.76; 'article': 0.77; 'discovered': 0.83; 'attacks.': 0.84; 'belief': 0.84; 'cobol': 0.84; 'lived': 0.84; 'slipped': 0.84; 'thing...': 0.84; 'received:89': 0.85; 'imagine': 0.93; '2013': 0.98 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: Experiences/guidance on teaching Python as a first programming language Date: Tue, 17 Dec 2013 15:35:27 +0000 References: <20131212213602.806ef8fd2626ca6f34bc83d6@gmx.net> <20131216213225.2006b30246e3a08ee241a191@gmx.net> <52afb7e7$0$29976$c3e8da3$5496439d@news.astraweb.com> <52b06ca9$0$29976$c3e8da3$5496439d@news.astraweb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: host-89-240-168-13.as13285.net User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 In-Reply-To: <52b06ca9$0$29976$c3e8da3$5496439d@news.astraweb.com> 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: 51 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1387294543 news.xs4all.nl 2933 [2001:888:2000:d::a6]:48456 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:62207 On 17/12/2013 15:24, Steven D'Aprano wrote: > On Tue, 17 Dec 2013 09:54:41 -0500, Roy Smith wrote: > >> In article , >> Neil Cerutti wrote: >> >>> On 2013-12-17, Steven D'Aprano >>> wrote: >>>> I would really like to see good quality statistics about bugs per >>>> program written in different languages. I expect that, for all we >>>> like to make fun of COBOL, it probably has few bugs per >>>> unit-of-useful-work-done than the equivalent written in C. >> >> Well, there was that little Y2K thing... > > Oh come on, how were people in the 1990s supposed to predict that they > would be followed by the year 2000??? > > That's a good point, but that wasn't a language issue, it was a program > design issue. Back in the 70s and 80s, when saving two digits per date > field seemed to be a sensible thing to do, people simply didn't imagine > that their programs would still be used in the year 1999[1]. That's not > the same sort of bug as (say) C buffer overflows, or SQL code injection > attacks. It's not like the COBOL language defined dates as having only > two digits. > > > > > [1] What gets me is that even in the year 1999, there were still > programmers writing code that assumed two-digit years. I have it on good > authority from somebody working as an external consultant for a bank in > 1999 that he spent most of 1998 and 1999 fixing *brand new code* written > by the bank's own staff. You'd think that having lived through that > experience would have shaken his belief that private enterprise does > everything better, and the bigger the corporation the better they do it, > but apparently not. Go figure. > > I was in charge of the team at work that had to make all code Y2K compliant. I discovered the one bug that to my knowledge slipped through the net. Four years later back at the same place on contract I fixed the fix!!! -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence