On 04/10/11 15:47, Dmitry Yemanov wrote:
> All,
>
> While being on the subject, may I kindly ask everyone to *stop* naming 
> the methods (especially public ones) as nouns and use verbs instead. 
> Method names like version(), owner() etc drive me crazy. It gets 
> especially "funny" when the former is a getter while the latter is a setter.

Never thought it to be too big trouble, but OK - I will have one more
cleanup pass to rename them.
Though at least one (owner()) will have to be replaced with 2 calls -
getOwner() and setOwner().

> Another point is global usage of native ints inside artificial SLONG etc 
> types. While I don't object in general, I don't recall any agreement 
> that we would never support the ILP64 model (Cray).
>

On that particular architecture int's will anyway be 8-bytes, event
sizeof(char) == 8 on cray :-)

But getting serious - with further grouth of 64-bit CPU sector I can
easily imagine a moment when it will be decided to have sizeof(int)==8
on most architectures. On my mind, at that moment our API will have to
also support 64-bit integers, therefore I've used plain ints in
interfaces. But if we decide that this is wrong - well, making API to
use SLONG/ULONG is definitely not a big problem right now.




------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to