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


Groups > comp.lang.python > #69255 > unrolled thread

Re: Python language hack for C-style programmers [DO NOT USE!] :-)

Started byChris Angelico <rosuav@gmail.com>
First post2014-03-28 18:51 +1100
Last post2014-03-28 18:51 +1100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Python language hack for C-style programmers [DO NOT USE!] :-) Chris Angelico <rosuav@gmail.com> - 2014-03-28 18:51 +1100

#69255 — Re: Python language hack for C-style programmers [DO NOT USE!] :-)

FromChris Angelico <rosuav@gmail.com>
Date2014-03-28 18:51 +1100
SubjectRe: Python language hack for C-style programmers [DO NOT USE!] :-)
Message-ID<mailman.8659.1395993082.18130.python-list@python.org>
On Fri, Mar 28, 2014 at 6:46 PM, Peter Otten <__peter__@web.de> wrote:
> Why would you guess if you can check? Just fire up the interactive
> interpreter^W^W compiler:

Partly because there's a difference between valid C++ and valid input
to the G++ compiler :) Knowing that it works with g++ doesn't tell me
that it's actually valid, and I don't feel like digging into the specs
to find out where you're guaranteed to be allowed to do that. (I could
probably test it with one of the language spec options, but then it
still depends on the exact version of GCC and the exact spec chosen.)

ChrisA

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web