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


Groups > comp.lang.python > #62478

Re: Why Python is like C++

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 <drsalists@gmail.com>
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 <l9399l$dg0$1@ger.gmane.org>
References <roy-666C26.09193920122013@news.panix.com> <l9399l$dg0$1@ger.gmane.org>
Date Sat, 21 Dec 2013 00:18:33 -0800
Subject Re: Why Python is like C++
From Dan Stromberg <drsalists@gmail.com>
To Mark Lawrence <breamoreboy@yahoo.co.uk>
Content-Type text/plain; charset=ISO-8859-1
Cc Python List <python-list@python.org>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
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>
Newsgroups comp.lang.python
Message-ID <mailman.4462.1387614224.18130.python-list@python.org> (permalink)
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

Show key headers only | View raw


On Fri, Dec 20, 2013 at 9:34 PM, Mark Lawrence <breamoreboy@yahoo.co.uk> 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.

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


Thread

Why Python is like C++ Roy Smith <roy@panix.com> - 2013-12-20 09:19 -0500
  Re: Why Python is like C++ Serhiy Storchaka <storchaka@gmail.com> - 2013-12-20 19:46 +0200
    Re: Why Python is like C++ Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2013-12-21 10:44 +1300
      Re: Why Python is like C++ Michael Torrie <torriem@gmail.com> - 2013-12-20 22:25 -0700
        Re: Why Python is like C++ Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2013-12-21 21:06 +1300
          Re: Why Python is like C++ Chris Angelico <rosuav@gmail.com> - 2013-12-21 19:17 +1100
          Re: Why Python is like C++ Christian Gollwitzer <auriocus@gmx.de> - 2013-12-21 11:19 +0100
            Re: Why Python is like C++ Tim Chase <tim@thechases.com> - 2013-12-21 08:52 -0600
              Re: Why Python is like C++ Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2013-12-22 13:17 +1300
            Re: Why Python is like C++ Tim Chase <python.list@tim.thechases.com> - 2013-12-21 08:43 -0600
              Re: Why Python is like C++ Roy Smith <roy@panix.com> - 2013-12-21 10:59 -0500
                Re: Why Python is like C++ Tim Chase <python.list@tim.thechases.com> - 2013-12-21 10:29 -0600
                Re: Why Python is like C++ Chris Angelico <rosuav@gmail.com> - 2013-12-22 06:04 +1100
              Re: Why Python is like C++ Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2013-12-22 13:27 +1300
            Re: Why Python is like C++ Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2013-12-22 13:14 +1300
          Re: Why Python is like C++ Michael Torrie <torriem@gmail.com> - 2013-12-21 08:46 -0700
            Re: Why Python is like C++ Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2013-12-22 13:36 +1300
  Re: Why Python is like C++ Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-12-21 05:34 +0000
    Re: Why Python is like C++ Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2013-12-21 21:09 +1300
      Re: Why Python is like C++ Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-12-21 08:22 +0000
    Re: Why Python is like C++ Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-12-21 11:37 +0000
      Re: Why Python is like C++ Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-12-21 12:12 +0000
  Re: Why Python is like C++ Dan Stromberg <drsalists@gmail.com> - 2013-12-21 00:18 -0800
    Re: Why Python is like C++ Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-12-21 11:51 +0000
    Re: Why Python is like C++ Roy Smith <roy@panix.com> - 2013-12-21 10:10 -0500
      Re: Why Python is like C++ Terry Reedy <tjreedy@udel.edu> - 2013-12-21 17:03 -0500
        Re: Why Python is like C++ Roy Smith <roy@panix.com> - 2013-12-21 17:28 -0500
          Re: Why Python is like C++ Terry Reedy <tjreedy@udel.edu> - 2013-12-21 19:20 -0500
  Re: Why Python is like C++ Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-12-21 08:42 +0000
  Re: Why Python is like C++ Gene Heskett <gheskett@wdtv.com> - 2013-12-21 14:05 -0500

csiph-web