More rant on names

Posted 2022-02-07

Core D Development Statistics

In the community

Community announcements

See more at the announce forum.

Adam's rant

I really dislike overly generic names. I also dislike arbitrary names. But I kinda like a combination of them.

import mp3; for example is too generic. There's probably competitors with the same name and it will conflict. import adamscode; is too arbitrary and doesn't tell you what it is.

But import adamscode.mp3; is nice - it is unique and descriptive.

If I was in charge of the dub registry, I would require all modules use this kind of pattern. (And I'd make the module name have some direct relationship to the package name so it is easy to find too). Alas.