Effective Module Naming

Published:
Translations:Русский
Comments:Telegram

A module should be named after the problem it solves, not its contents.

There’s no clear reason why you’d need modules like utils, common, constants, enums, or schemas. Names like time, compress, or http are different - their purpose is immediately obvious.

Content doesn’t matter - function does. This thing can open a door.