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


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

Re: while expression feature proposal

Started byCameron Simpson <cs@zip.com.au>
First post2012-10-27 11:23 +1100
Last post2012-10-27 11:23 +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: while expression feature proposal Cameron Simpson <cs@zip.com.au> - 2012-10-27 11:23 +1100

#32256 — Re: while expression feature proposal

FromCameron Simpson <cs@zip.com.au>
Date2012-10-27 11:23 +1100
SubjectRe: while expression feature proposal
Message-ID<mailman.2924.1351297390.27098.python-list@python.org>
On 26Oct2012 19:19, Devin Jeanpierre <jeanpierreda@gmail.com> wrote:
| (I've always been partial to ":=", personally.)

I'm less so. It is hard to type (on my keyboard anyway, that's a shifted
keystroke followed by an unshifted one). I mank that up often enough
that I would resent it for something as oft used as an assignment.

Visually, yes, it's good. I was happy with it in Pascal and its like,
though I find the succinctness of plain "=" very attractive given that
it is only available on the left in Python, where it is easy to see and
not prone to mixups with == later in an expression.

Cheers,
-- 
Cameron Simpson <cs@zip.com.au>

George, discussing a patent and prior art:
"Look, this  publication has a date, the patent has a priority date,
can't you just compare them?"
Paul Sutcliffe:
"Not unless you're a lawyer."

[toc] | [standalone]


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


csiph-web