( 2.31.New operators: 'eq', 'ne', 'last', '..' ) ?
Gerrit Holl
gerrit.holl at pobox.com
Fri Jan 21 08:06:31 EST 2000
Grant Edwards wrote on 948372773:
> In article <38862948.5AEE964C at roguewave.com>, Bjorn Pettersen wrote:
> >Evguenii Smogailov wrote:
> >
> >> On 19 Jan 2000, Stephen Coursen wrote:
> >> > When did this become a trait of Perl? Gods, what's so hard about knowing
> >> > that == is the equality operator?
> >>
> >> Well, just the same reason as for replacing '||', '&&' with 'or', 'and'.
> >
> >I see... so you don't really want eq, gt, and ne; you want equal, greater, and
> >not equal.
>
> No, no, that would be too hard to read. We really need the
> operators 'is_greater_than' 'is_less_than' 'is_equal_to'.
>
> Ideally, the underscores should be spaces, but that might be
> problematic.
But why only in English?
if a is_greater_than b
would be equivalent to
als a is_groter_dan b
and
als a ist_grosser_dan b
So we'll have over 400 keywords! Yeah!
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