Path: csiph.com!usenet.pasdenom.info!news.etla.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed3.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.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'static': 0.04; 'subject:Python': 0.06; 'compiler': 0.07; 'tests.': 0.07; 'lawrence': 0.09; 'subject:Why': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'cc:name:python list': 0.16; 'imo,': 0.16; 'reliability.': 0.16; 'roy': 0.16; 'so.': 0.16; 'wrote:': 0.18; 'cheap': 0.19; "hasn't": 0.19; 'unlike': 0.19; 'tests': 0.22; 'cc:addr:python.org': 0.22; 'errors.': 0.24; 'subject:like': 0.24; 'tend': 0.24; 'cc:2**0': 0.24; 'compiled': 0.26; 'header:In-Reply- To:1': 0.27; 'idea': 0.28; 'testing': 0.29; 'dec': 0.30; 'message- id:@mail.gmail.com': 0.30; 'code': 0.31; 'fri,': 0.33; 'used,': 0.33; 'but': 0.35; 'received:google.com': 0.35; 'c++': 0.36; 'should': 0.36; 'integration': 0.37; 'pm,': 0.38; 'analysis,': 0.60; 'believe': 0.68; '20,': 0.68; 'smith': 0.68; 'analysis': 0.75; 'to:addr:yahoo.co.uk': 0.84; '2013': 0.98 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 :cc:content-type; bh=glAi7CiL0HDPmNTeW4r3mmRX98upi6uVcTXSE+/6m0k=; b=gLMT6wF8qmKCrXcUv9E9wM0ionsNBTR0FDZ3hRlS5v9g9aJU0HuNxK8Eysj5c87Tj9 avLtOcpFyYWB9WSZaEj5c8kJEkmX+Q6SPMh148VZTMMz05sTrirCLx67ouCYPSuLT4b1 Rue6ubpMBzRbjQTsACwbbSdGMS0yGswt5AVWahQyw0XAMGutMINCE6g2qIb0Ta1ERACR m5LJn+zxWI5lKTTYLyONPznJ/OO6q2wXCYCqe8AeYDb8lwmahKZYtkQJhYSypGNvvLGf vgb/stdZFR5DVR450dBf1xz/Z3eXu0MwJTjMB3uw5j1uLPlsLqrRtFzZdVjXobzXWyma FHTA== MIME-Version: 1.0 X-Received: by 10.180.188.100 with SMTP id fz4mr11131796wic.57.1387613913153; Sat, 21 Dec 2013 00:18:33 -0800 (PST) In-Reply-To: References: Date: Sat, 21 Dec 2013 00:18:33 -0800 Subject: Re: Why Python is like C++ From: Dan Stromberg To: Mark Lawrence Content-Type: text/plain; charset=ISO-8859-1 Cc: Python List 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: 19 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1387614224 news.xs4all.nl 2860 [2001:888:2000:d::a6]:47104 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:62478 On Fri, Dec 20, 2013 at 9:34 PM, Mark Lawrence wrote: > On 20/12/2013 14:19, Roy Smith wrote: >> >> http://xkcd.com/1306/ >> > > I believe that to be a very superficial like. They're unlike in that once > C++ people have compiled their code they can head down to the pub, but > Python people have to stay at work testing because the compiler hasn't > caught all potential errors. Python should be used with static analysis (EG pylint), IMO, for reliability. Python should also be used, IMO, with a good set of automated unit, integration and system tests. C++ should use automated tests too, but is often used without because the compilers make it almost reasonable to do without. The compilers tend to make it so you don't need static analysis, but it's so cheap to use static analysis that it's a good idea to do so.