Re: [hackers] [libgrapheme] Rename API functions to improve readability || Laslo Hunhold
On Sat, 18 Dec 2021 20:08:46 +0100
Mattias Andrée <maandree_AT_kth.se> wrote:
Dear Mattias,
> I would prefer the “libgrapheme_” prefix, so that it
> is obvious that the functions belong to the libgrapheme
> library.
I think that would be rather unusual and must admit that I know no case
of a library where the lib-prefix was found within the API. This is
especially apparent when we consider the l-flag of the linker, which
outright omits the lib-prefix.
Given the header is called "grapheme.h" (and whose name I will not
change), it only makes sense to call the prefix just the same. If you
stumble upon a "grapheme_" function in a piece of code, it should be
easy to see what it belongs to.
Or do you have a specific reason for said preference?
With best regards
Laslo
Received on Sun Dec 19 2021 - 01:01:31 CET
This archive was generated by hypermail 2.3.0
: Sun Dec 19 2021 - 01:12:29 CET