[Top][All Lists]

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

Packages shadowing built-ins

From: Matthias W. Klein
Subject: Packages shadowing built-ins
Date: Wed, 29 May 2019 23:20:46 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

Dear octave maintainers,

what is the general attitude towards octave packages *shadowing*
built-in core functions?

An advantage is the un-definition upon package unloading.

A disadvantage is the necessary copy of the built-in help text to the
shadowing function definition.

The background of my question is the OCL package using its own octave
C++ data types (those inheriting octave_base_value, with the types
appended to the 'typeinfo' list; *not* interpreter classes which would
allow method overloading!) and octave version >= 4.4, where shadowing
seems an option (if not the only one).

Best regards,

reply via email to

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