[Python-ideas] Modern language design survey for "assign and compare" statements

Steven D'Aprano steve at pearwood.info
Sun May 20 01:35:50 EDT 2018


On Sun, May 20, 2018 at 12:21:16AM -0500, Tim Peters wrote:

> I was an early REBOL user, and my head still hurts ;-)  It was ...
> different, for sure.
[...]

Yeah, to me it looks more like a prefix version of Forth than Lisp. 
Complete with "anything can be a name":

> Yup!  "i1+2=3*88" is a variable name there :-)

but maybe when languages are weird enough they all look the same :-)


> Short course:  definitely "yes" on assignment expressions for Red.
> But I'm going to out on a limb and guess that the typical Python
> programmer wouldn't find "but Red does it!" persuasive ;-)

True :-)

Thanks for doing the testing.



-- 
Steve


More information about the Python-ideas mailing list