I mentioned that Guido had said that Boo was like Python 3000. Here's the actual email text:
This PEP reminded me of the "boo" language (http://boo.codehaus.org/),
a new scripting language for the CLI strongly inspired by Python
(especially the Python 3000 variant :-).
It has string interpolation like this
(http://boo.codehaus.org/String+Interpolation):
print("Now is ${date.Now}.")
print("Tomorrow will be ${date.Now + 1d}")
They require use of {...} after the $, and you don't need to escape
the $ if not followed by {.
Just another design variant (of course they may change it all tomorrow
:-).
--Guido van Rossum (home page: http://www.python.org/~guido/)
No comments:
Post a Comment