0
How do you name your classes?
Iâve heard that the best way to write cleancode is to use special class names. But itâs important to note that all class names never should end with âerâ like the typical name âcontrollerâ or something like that. So how you guys name your classes? Do you think it important to pay attention to the naming? If yes do you have any tips?
2 Answers
+ 2
Name classes is points to the code, if I want to name I should take a creative subject to speak about it in code
+ 2
I stick to the convention to start them with a capital letter.
Besides of that, the usual: Telling names. Usually a noun, because most of the time a class models a 'thing', right? (While methods or functions model action, so verbs are a better fit.)