V4RB2, CHG, ValentinaInit()

Ruslan Zasukhin sunshine at public.kherson.ua
Mon Mar 1 22:04:40 CST 2004


on 3/1/04 10:03 PM, Charles Yeomans at yeomans at desuetude.com wrote:

>> 1) ValentinaInit() can fail.
> 
> This is what exceptions are for.
>> 
>>     if return nothing, then you need ask ValentinaError
>>     and we need add one more error code.
>> 
>> 2) it can allocate less than you ask.
>> 
>>     one more function...
>> 
>> 
>> One return value solve 2 tasks at once.
> 
> And this is what I'm complaining about.  I think that it's simpler to
> have two things (functions, properties, etc), each of which solves one
> task.

Okay, I will redo this.

-- 
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 mailing list