News for hackers. Stuff that matters.
Re:Why you should never ever ever have Managers in your clas... by craigching on Sunday March 31, 2013 @09:47PM (#5471009)
Class names are pretty much meaningless to me. It's hard to name classes, so in my experience, I tend to look past them and understand the responsibilities of the class and pretty much ignore the name. If it's too hard to understand the class responsibilities without a lot of work, then the class is definitely poorly designed, most likely too complicated.
Re:Why you should never ever ever have Managers in your clas... by gizmo686 on Sunday March 31, 2013 @11:06PM (#5471218)
The problem is when someone is trying to browse the code. When things are well named, then it is much easier for someone unfamiliar with the code base to find their way around. I've done a fair amount of hacking around in open source projects. There are some projects where I can download the source code, know what I want to do going into it, and just do it. In other projects, when I am at a place I think is relevant to what I want to do, I have to dive deep into the programs abstraction layers just to see how certain objects and functions behave and what they do. Some of that is likely an unavoidable result of me needing to get to a rather core part of the code, but it seems like a lot of it has to do with the clarity of naming.

If I need to know the precise behavior, I will generally look it up anyway, but I do not need to know the precise behavior of everything.