static method name does not need to be prefixed with class name #1

Open
opened 2026-07-02 16:22:27 +00:00 by jaynuine · 0 comments
Owner

refactor required

since these are static and only stored by their address, their name is irrelevant as it is local to their declaration unit and risks no collision

it would be cleaner for us not to prefix the class name to the method's, e.g. _link_new -> _new

we may even ditch the underscore really

refactor required since these are static and only stored by their address, their name is irrelevant as it is local to their declaration unit and risks no collision it would be cleaner for us not to prefix the class name to the method's, e.g. `_link_new` -> `_new` we may even ditch the underscore really
jaynuine added this to the todo project 2026-07-02 16:22:27 +00:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
jaynuine/libjn#1
No description provided.