[PATCH] KConfig code cleanups

Thiago Macieira thiago at kde.org
Mon Oct 29 08:31:16 GMT 2007


Em Monday 29 October 2007 08:57:15 Oswald Buddenhagen escreveu:
> nobody cares what you do internally, but in the api QByteArray() and
> QByteArray("") are the same. for return values, null seems more
> appropriate, as it better reflects the "no name" instead of "empty name"
> idea, but well ...

Please try to restrict to the maximum the places where null and 
empty-but-not-null differ in semantics. It's easy to get things broken there.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20071029/cfae0ae0/attachment.sig>


More information about the kde-core-devel mailing list