Closed zaikunzhang closed 11 months ago
The .jl
extension is not considered as the name of the package, although it can be used for the repository name as a remainder of the destination language (most Julia packages do that).
For me PRIMA
is fine as a Julia package name, this name only appears in very few places in the code, like using PRIMA
which imports exported symbols for the package in your code. Accessing to non-exported symbols is possible via the PRIMA.
prefix. I use that for some constants like the exit codes (e.g. PRIMA.MAXFUN_REACHED
) to make clear from where the symbols belong to.
There are rules for package names (see https://github.com/JuliaRegistries/General/blob/master/README.md), in particular they should not be too close to other existing package names. Package RegistryCI
can be used to check for that. These rules guided my choice for PRIMA
which was found by RegistryCI
to be similar to ARFIMA
. But, to me, no human will really make the confusion. On the contrary Prima
was found to be close to Primes
with a greatest risk of confusion (again to me). Julia package names are also module names and it is recommended that they start with an uppercase letter. This prevents, in principle, to use the name prima
which, by the way, was found by RegistryCI
to be not too close to any existing package names.
To summarize, I would keep PRIMA
if possible and let us see whether it is accepted as a Julia package name.
I think that a decision has been taken regarding the name: it is PRIMA
for the package and PRIMA.jl
for the repository. I therefore close this issue.
In general, I tend to write the name of the package as "PRIMA" when communicating with humans, but I tend to write "prima" in the code, excluding comments, which are human-oriented. The reason is as follows.
1."prima" or "Prima" may confuse a human due to the existence of this word in English / Latin / Italian.
That said, what do you think should be the answer to the following questions?
PRIMA.jl
orprima.jl
? (Consequently,using PRIMA
orusing prima
)?Currently, the Fortran code and the MATLAB /Python/C interfaces all use
prima
in the code.Thanks.