Hi Matthieu,

Matthieu Moy <[EMAIL PROTECTED]> writes:

> I wrote:
>> Some time ago, we decided to use the convention that functions and
>> variables whose names start with tla-- were internal functions, and
>> tla- were "public" functions.
>
> [...]
>
>> So, now, I think we should just get rid of this convention and use a
>> single dash everywhere.
>
> I got no answer to this question. Does this mean everyone agrees?

I think the original distinction of using "tla-" for user-visible
symbols and "tla--" for internal ones was a bit optimistic; as you say,
sometimes other parts of code needs to access things that the user does
not.  It would have probably been simpler to think of the system in
terms of modules and say that "tla-" is used for symbols that make up
the interface to a module, and "tla--" is used for "private stuff" (much
like package:foo vs. package::foo in Common Lisp).

Anyway, it's harder to do this sort of thing in a language without
explicit support for packages, as you'd have to keep track of the
modules in your head (or implement your own package system :o)), so I
don't mind if this convention is removed.

Cheers,

Mark

-- 
Mark Triggs
<[EMAIL PROTECTED]>

Reply via email to