Don <[email protected]> napisał(a):

The efficiency issues are important, but are not the primary motivation.
toString() is just wrong. The idea that there is ONE AND ONLY ONE textual representation of an object, is, frankly, idiotic.

I always thought of toString() as an aid in debugging, where having one and only way to print out an object makes sense. But strong words suggest you see something I don't. What problems does offering choice solve? How and to whom would I pass my choice?

--
Tomek

Reply via email to