[PyKDE] Re: Printing empty QStrings (Johannes Sixt)

Johannes Sixt Johannes.Sixt at telecom.at
Sun Nov 5 21:44:40 GMT 2000


On Sun, 05 Nov 2000, Bernd Gehrmann wrote:
>> For me, the least surprising thing would be if there were no difference - IOW,
>> if there were no such thing called a "null string".
>
>No, null strings are extremely useful, for example as default arguments
>in functions. See e.g. the QListViewItem constructor.

I don't see a necessity that this is a special string, which is distinguishable
from an empty string. Tell me, please, what disadvantage you see if the default
argument were an empty string?

Regards,
-- Hannes




More information about the PyQt mailing list