octave-maintainers
[Top][All Lists]
Advanced

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

naming scheme for the GSL package


From: Julien Bect
Subject: naming scheme for the GSL package
Date: Thu, 13 Oct 2016 22:55:00 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.4.0

Dear all,

the GSL package is almost ready to leave its "unmaintained" status and be released again.

Before I do that, I would like to propose a change of naming scheme.  Let me explain.

The help text of gsl_sf () states that "All GSL functions can be called with by the GSL names within octave" but it is not true.

In fact, the "gsl_sf_" prefix is removed.  For instance : "gsl_sf_clausen" is made available as "clausen".

I see two difficulties with this naming scheme :

a) Name conflicts.  Some GSL functions names would coincide with Octave function names.  This problem has been solved in earlier release of the GSL package by adding a "_gsl" suffix, but this makes the naming scheme inconsistent.

b) Short names.  Some function names become very short and look like variable names.  For instance, "gsl_sf_eta" becomes "eta", "gsl_sf_Si" becomes "Si"...  I am not comfortable with such short names.

I propose to keep full GSL names to solve both problems.

Any opinions ?

@++
Julien

reply via email to

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