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


Groups > comp.lang.python > #32256

Re: while expression feature proposal

Date 2012-10-27 11:23 +1100
From Cameron Simpson <cs@zip.com.au>
Subject Re: while expression feature proposal
References <CABicbJJ073VyhsikKsqF-AhLcriAKdfd8qoTAO3B0OAyYUT-mg@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.2924.1351297390.27098.python-list@python.org> (permalink)

Show all headers | View raw


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."

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


Thread

Re: while expression feature proposal Cameron Simpson <cs@zip.com.au> - 2012-10-27 11:23 +1100

csiph-web