Warren Postma wrote:
Will McGugan wrote:
Isn't that equivalent to simply..
nums= range(100)
I remember the day I first realized that 900 lines of some C++ program I was working on could be expressed in three lines of python. Ahh.
Lately I've found myself commenting C++ code with the equivalent Python code. I find it clearer and more terse than simply commenting in English!
If you used literate programming tools, you might be able to get a Python version and a C++ version of your code in one go!
-- Robert Kern [EMAIL PROTECTED]
"In the fields of hell where the grass grows high Are the graves of dreams allowed to die." -- Richard Harter -- http://mail.python.org/mailman/listinfo/python-list