DEV Community

Dalibor Belic
Dalibor Belic

Posted on • Originally published at blog.daliborbelic.com on

On naming things

How do you name things?

Naming things is one of the most challenging aspects of our work. Not only do good names make our code more readable and maintainable , but they also help us to better understand and reason about the problem we are trying to solve.

There are only two hard things in Computer Science: cache invalidation and naming things.

-- Phil Karlton

In the domain of developer experience, naming things is especially important because it can significantly impact the usability and accessibility of the code. Good names make it easier for other developers (including ourselves in the future) to understand and work with the code, and they can also help to reduce confusion and frustration.

Its a matter of fact that by choosing descriptive, meaningful, and consistent names, appropriate for the code, developers can create better software faster!

Overall, taking the time to carefully choose names for our code is a crucial part of the development process, and it's something that requires a lot of thought and consideration.

Top comments (0)