Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #47731
| 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 | 2013-06-12 12:10 +1000 |
| Subject | Re: Do you consider Python a 4GL? Why (not)? |
| From | Chris Angelico <rosuav@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.3046.1371003030.3114.python-list@python.org> (permalink) |
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 | Next — Previous in thread | Find similar | Unroll 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