Python wart
Peter Cacioppi
peter.cacioppi at gmail.com
Fri Nov 1 17:47:40 EDT 2013
Mark said :
"so I can get an extremely large pair of pliers with which I can extract my tongue from my cheek :) "
OK fair enough, and my post was in the same spirit.
Chris said :
"Maybe, but it's supported by so many languages that it is of value. "
Sure, I suppose someone should make a module that gets you as close as possible within the as-is language definition. I can't really comment on whether Py is close enough currently, as I always thought printf was sort of crappy.
I thought the C++ << business even worse.
Like I said, Python seems fine to me in this area. I use the str(), round() and ljust(), rjust() functions and concatenate what I need together. The result seems more readable than the old printf crap I used to write (not exactly clearing a sky high bar).
Just one man-child's opinion.
More information about the Python-list
mailing list