Why = = (and not just =)
Carlo v. Dango
oest at soetu.eu
Sun Oct 19 18:59:30 EDT 2003
> expression syntax to boot. The original language in the Algol family,
> Algol 60, used ":=" as the assignment operator as I recall, a tradition
> followed by Pascal.
>
> Frankly, I'd rather have the assignment operator be something
> like a left arrow: "<-" perhaps. I think it makes more sense,
> and it avoids the confusion between one = and two.
actually Algol was meant to have the <- rather than the := but due to
problems writting the lexer/parser, it became :=
if you want a language which uses the <- operator then have a look at the
language "Beta" it takes a little getting used to, when used nested ;)
-carlo van dango
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
More information about the Python-list
mailing list