What do you suggest str.print should do?
print to stdout? how about stderr? or file? or serial port?
Printing on stdout is really a special case, but it is so ubiquitous that it can sometimes be missed.
Then we need to indicate where str should print every time we create a string?
At least we have to say
"foo".print(sys.stdout)
Hope this looks awful too. This is a confusion of responsibility.
John la rooy
source share