[V4REV] Advice 2 about func names

Ruslan Zasukhin sunshine at public.kherson.ua
Fri May 13 08:49:45 CDT 2005


On 5/13/05 6:05 AM, "Robert Brenstein" <rjb at robelko.com> wrote:

>>> Not to rain on the parade but IMHO this increases chances of name
>>> conflicts beyond comfortable and makes the code less
>>> self-documenting. I rather type a few chars more.
>> 
>> It is really only a two character difference between the two
>> variants.  I was just joking around about having to type less.  I do
>> like the proposed syntax more than the Valentina("") stuff (just
>> because it seems "right") but I could see how that could create
>> problems for someone who has the code sprinkled all over their
>> projects.  It really isn't a big deal either way for me.
> 
> The first variant proposed by Ruslan had Valentina_ as prefix for all
> calls, so at least it was painfully clear where they are coming from.
> The second variant has only V up front that is common and that makes
> me uncomfortable.

We will have:

    Valentina_
    Vdatabase_
    Vtable_
    VLink_
    VSet
    VServer

PLUS another action word.
You think this can conflict to somebody? I doubt.

In this way live all procedural languages, and for now was no conflicts.


>>> I also wonder about increased effort for you to maintain those new
>>> functions, particularly when adding new functions. Won't you need
>>> to have a series of externals instead of a single one? Or are you
>>> planning to have a Valentina library that defines those as passthru
>>> functions to the external?
>> 
>> In the code for an external you simply add a line of text that maps
>> a function in your external to a transcript handler.
> 
> Will that work same for Win, OSX, and OS9?

yes

> I was not aware that a
> single external can have multiple entry points.

It can

> Oh, wait, what is
> that about mapping an external to a transcript handler?

?

-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina mailing list