[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: [PATCH] KConfig code cleanups
From:       Thiago Macieira <thiago () kde ! org>
Date:       2007-10-29 8:31:16
Message-ID: 200710290931.16740.thiago () kde ! org
[Download RAW message or body]


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

["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic