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


Groups > comp.lang.python > #47731

Re: Do you consider Python a 4GL? Why (not)?

Path csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!cs.uu.nl!news.stack.nl!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'python,': 0.02; 'subject:not': 0.03; 'run-time': 0.05; 'subject:Python': 0.06; '(b)': 0.07; 'compiler': 0.07; 'environments': 0.07; 'failing': 0.07; 'compile-time': 0.09; 'dan': 0.09; 'filenames': 0.09; 'latter': 0.09; 'subject:Why': 0.09; 'python': 0.11; '(before': 0.16; 'behold,': 0.16; 'does,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'other,': 0.16; 'runtime.': 0.16; 'subject:)?': 0.16; 'sure.': 0.16; 'throw': 0.16; 'language': 0.16; 'wrote:': 0.18; 'wed,': 0.18; '>>>': 0.22; 'error': 0.23; '(a)': 0.24; 'errors.': 0.24; 'parse': 0.24; 'source': 0.25; 'compiled': 0.26; 'nearly': 0.26; 'header:In- Reply-To:1': 0.27; '[1]': 0.29; 'errors': 0.30; 'message- id:@mail.gmail.com': 0.30; 'usually': 0.31; '-0700,': 0.31; 'suites': 0.31; 'file': 0.32; 'running': 0.33; 'subject: (': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; "didn't": 0.36; 'error.': 0.37; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'ability': 0.39; 'does': 0.39; '12,': 0.39; 'to:addr:python.org': 0.39; 'called': 0.40; 'even': 0.60; 'read': 0.60; 'dave': 0.60; 'subject:? ': 0.60; 'further': 0.61; 'effectively': 0.66; 'etc),': 0.84; "it'd": 0.84; 'subject:you': 0.87; 'angel': 0.91; '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 :content-type; bh=13GxHYQNmb/6EvsUUmnpMuSYMnklTn1vn13Y6ohEg3U=; b=Mcx1hSfctYHuR9qZNHcJMk90uivODEDg6PBy9uE4RgwGmKuIdtnjDYclZkjnKoSG2Q Gei6Y1WZZpuWBDLBdCbLpIDemgsRgm33rN63ssFsU4Yw9+T6ZKg5UbAqDyNUE2SkY6dE VRP/yhpz1nW23omuvjT6PIuPsaafSOeuq7jxVVuCcj0zcLsGQDgRIG7C6xRzy6xwwSPD BWjV3TcMRfvtwBNz7wQfzu64wGzYyUyri+KUTI4RDSrD8X6qyBGt8hXxpXP5PQGoAc6e rFmkvkC75sAcs+5vlelBiI5EfNhmGEXKrECxj9T4g+bbJMOims108BBePdag0pG76yOz l1Xw==
MIME-Version 1.0
X-Received by 10.52.117.16 with SMTP id ka16mr7459779vdb.43.1371003027967; Tue, 11 Jun 2013 19:10:27 -0700 (PDT)
In-Reply-To <51B7D6CC.40309@davea.name>
References <BLU176-W1F35788C5EEAC4B30AB73D79E0@phx.gbl> <CAGGBd_rihU4iD2Cx75Ax0u-f6M+CUHQYcznzOTyYYR386hAQ-w@mail.gmail.com> <mailman.2772.1370475644.3114.python-list@python.org> <51b77f24$0$2271$426a74cc@news.free.fr> <51B7D6CC.40309@davea.name>
Date Wed, 12 Jun 2013 12:10:27 +1000
Subject Re: Do you consider Python a 4GL? Why (not)?
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
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 <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.3046.1371003030.3114.python-list@python.org> (permalink)
Lines 35
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1371003031 news.xs4all.nl 15930 [2001:888:2000:d::a6]:60132
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:47731

Show key headers only | View raw


On Wed, Jun 12, 2013 at 12:02 PM, Dave Angel <davea@davea.name> wrote:
> On 06/11/2013 03:48 PM, Laurent Pointal wrote:
>>
>> Dennis Lee Bieber wrote:
>>
>>> On Tue, 4 Jun 2013 18:17:33 -0700, Dan Stromberg <drsalists@gmail.com>
>>> declaimed the following in gmane.comp.python.general:
>>>
>>>      <SNIP>
>>
>>
>>> The C compiler suites used this ability to read the error log from a
>>> compile, and move to the line/column in the source file associated with
>>> each error. (Before "integrated" development environments)
>>
>>
>> This is a + for compiled environments that you effectively cannot have
>> with
>> Python, non-syntaxic errors found at runtime.
>>
>
> Sure.  I think they're usually called exceptions.  And lo and behold, they
> come with filenames and line numbers.

Nearly every language has parse-time and run-time errors. Some skew it
further one way than the other, but (a) there will always be run-time
errors (interrupted, out of memory, etc), and (b) it'd be a stupid
language[1] that didn't even *try* to parse a file before running it.
The only difference is that C has a much heavier compile-time phase
than Python does, so the latter has to throw TypeError for 1+[]
instead of failing the compilation.

ChrisA

[1] I opened with "Nearly" because MS-DOS batch does seem to be this stupid.

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


Thread

Re: Do you consider Python a 4GL? Why (not)? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-06-05 19:40 -0400
  Re: Do you consider Python a 4GL? Why (not)? Laurent Pointal <laurent.pointal@free.fr> - 2013-06-11 21:48 +0200
    Re: Do you consider Python a 4GL? Why (not)? Dave Angel <davea@davea.name> - 2013-06-11 22:02 -0400
    Re: Do you consider Python a 4GL? Why (not)? Chris Angelico <rosuav@gmail.com> - 2013-06-12 12:10 +1000

csiph-web