DEV Community

loading...

Discussion on: Do you have a process for naming things?

Collapse
yashints profile image
Yaser Adel Mehraban

1- Be consistent within your team or project
2- Names should describe why a programming element exists
3- Names should be pronounable, searchable, and without encoded info
4- Avoid numbers in names
5- Not too abstract, not too detailed

Collapse
kleene1 profile image
kleene1

I feel like consistency is the most important thing. When you are done you can go about making things more readable / use better naming.