DEV Community

Discussion on: Naming things is hard. Agree or disagree?

Collapse
 
gabrielski profile image
Gabriel

I'll break the pattern and I'd say that naming things isn't that hard at all. Yes, sometimes it may be hard to find the right name for a CSS class, for example, but I always figured it out like this:

Ask these 3 questions:

"What is this class for?"
"What is its purpose?"
"Why I made it?"

Now find out the core answer and voila, you made it!