help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: forcing function execution as a core function or from a certain pack


From: Jordi Gutiérrez Hermoso
Subject: Re: forcing function execution as a core function or from a certain package
Date: Tue, 10 Jul 2012 16:36:41 -0400

On 10 July 2012 16:26, Sergei Steshenko <address@hidden> wrote:
>
>
>
>
> ----- Original Message -----
>> From: Jordi Gutiérrez Hermoso <address@hidden>

>> On 10 July 2012 16:07, Sergei Steshenko <address@hidden> wrote:
>>>  notation is allowed and _demand_ that all Octave packages follow the
>> scheme.
>>
>> Yeah, good luck demanding all that. We can't even agree that sumsq
>> isn't buggy in core Octave.

> You don't have to agree that 'sumsq' is buggy.
> Those who think it is buggy will use package export mechanism - that's all.

The problem is that it would have to be opt-in or else we'd be
breaking Matlab code. People would have to do something like
"use_octave_namespaces(1)" in their .octaverc. And people who write
code would have to check that variable every time to see how they need
to refer to functions. On top of that, we also need to implement
Matlab's own mechanism for packages, whether we like how it works or
not.

This way lies madness.

Well, different kind of madnes. At least the madness of having only
one global namespace is familiar madness. Better the devil you know.

- Jordi G. H.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]