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

Stefan Schwarzer s.schwarzer at ndh.net
Wed Jan 19 21:08:53 EST 2000


Hi Evguenii

Evguenii Smogailov schrieb:
> Well, just the same reason as for replacing '||', '&&' with 'or', 'and'.

I consider it a bad idea, to add synonyms for things that are
already in the language. So _adding_ "greater" to the language (do you
really find "greater" or just "gt" more readable as ">"?) is not
the same as using "or" _instead_ of "||".

Perhaps the ".." operator is something to consider (if it isn't
incompatible with somethings else in the language), but most of
the times "range" does it's job very well.

Stefan



More information about the Python-list mailing list