( 2.31.New operators: 'eq', 'ne', 'last', '..' ) ?

Gerrit Holl gerrit.holl at pobox.com
Thu Jan 20 03:26:44 EST 2000


Evguenii Smogailov wrote on 948321465:
> Hi all,
> 
> Maybe someone (like PSA member) would like to submit this (below) as an 
> entry to the To-Do list (in minor language design section)?
> --------------------------------
> 
> New operators:
> 1) 'eq' (like '==');
> 2) 'ne' (like '!=','<>');
> 3) 'last' (like 'continue');
> 4) '..' for generating sequences (like '1..20' or 'a..z'),
> like in Perl.
> 
> Generally for improving readability,

Do you really think "a eq b" is more readable than "a == b"?
And 'last'? Why 'last' if we have 'continue'?

And I'd HATE 1..20

> (and Perl compatibility).

EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEKS

regards,
Gerrit.

-- 
Please correct any bad English you encounter in my email message!
-----BEGIN GEEK CODE BLOCK----- http://www.geekcode.com
Version: 3.12
GCS dpu s-:-- a14 C++++>$ UL++ P--- L+++ E--- W++ N o? K? w--- !O !M !V PS+ PE?
Y? PGP-- t- 5? X? R- tv- b+(++) DI D+ G++ !e !r !y
-----END GEEK CODE BLOCK-----




More information about the Python-list mailing list