On Tue, Jan 11, 2005 at 03:29:24PM +0100, David Olofson wrote:
> My main focus has been on easy typing and reading, and making it hard
> to accidentally write code that doesn't do what you think it does.
A worthy goal!
One little thing I've come to like about Python -
you can't use an assignment in an expression like:
while x = 1:
The rationale, and discussion of some common idioms, is described here:
http://python.org/doc/faq/general.html#why-can-t-i-use-an-assignment-in-an-expression
That whole section also has a lot of rationale for various python
features (and some historical warts), so it might be a good read
for a budding young language designer even if you hate the
choices made ;-)
-- Paul Winkler http://www.slinkp.comReceived on Wed Jan 12 00:15:04 2005
This archive was generated by hypermail 2.1.8 : Wed Jan 12 2005 - 00:15:05 EET