V4RB, get_CacheSize

Ruslan Zasukhin sunshine at public.kherson.ua
Wed May 12 08:59:40 CDT 2004


On 5/12/04 3:46 AM, "Charles Yeomans" <yeomans at desuetude.com> wrote:

>> If I will use syntax as
>> 
>> 
>>     z = Valentina.get_CacheSize
>> 
>> And say
>> 
>>     Valentina.put_CacheSize( z )
>> 
>> 
>> Anybody see problem wish names?
>> 
>> I mean get_ put_
> 
> Probably GetCacheSize and SetCacheSize would sound better to Rb users.

Okay.

And when REAL implement properties we will be able change this.

> Can the cache size be changed while Valentina is active?

No, that was example.

We can have DebugLevel as property.


>> We use such names in our C++ code.
>> This is similar to COM names.
>> 
> 
> I thought you were discouraging people from confusing Paradigma with
> Microsoft.

Okay okay,

    get_    set_        -> Microsoft

    Get     Put         -> CORBA

:-)

I do not remember exactly where how.

BTW, in our C++ code we use

     // <Name> 
    
            get_Name()
            put_Name()


     // methods   

            NextRecord()


C++ do not have properties.
So we imitate them in this way.
And get_ put_ very clean show us where is property.
Mathods go from capital letter.

Although for RB language case - insensitive.


-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------



More information about the Valentina-beta mailing list