Naming is hard


Naming is hard.

The solution? Nouns vs verbs.

Start these with a verb:
Functions ➡️ getUser
Ticket titles ➡️ Fix log out
Commit messages ➡️ Fix bug
Test names ➡️ Opens modal on click

Start these with a noun:
Folders ➡️ services
Files ➡️ contact.js
Resources ➡️ /users

View original on X