Assignment direction (Re: Curious assignment behaviour)

Tim Peters tim.one at home.com
Wed Oct 17 21:49:35 EDT 2001


[Greg Ewing]
> ...
> By the way, when I was very young, before I'd had
> much contact with real computers or HLLs, I designed
> a programming language in which assigment was written
> <expr> = <variable>, e.g. A + B = C. It seemed logical 
> to me -- you do the arithmetic first and then store 
> the result!
>
> I was quite surprised when I found out later that
> most languages do it the other way around.

ABC's newbie-testing drove them to spell assignment

    PUT a+b IN c

so-much-for-the-value-of-newbie-friendliness<wink>-ly y'rs  - tim





More information about the Python-list mailing list