DEV Community

Discussion on: Do You Struggle Naming Your Classes Well?

Collapse
 
ssimontis profile image
Scott Simontis

I find that if I struggle to name something, I am probably violating the single responsibility principle. If all I can think of is FooService or FooManager, I am trying to do way too much work in that class and need to break it down into more specific elements.