Programming

Wednesday, July 05, 2006

Classes should be lazy?

Today my tech lead announced that classes should be lazy. WTF I hear you cry! Google for that and you'll find nothing. I think what he was trying to say is that classes should have clear, well-defined and limited responsibilities.

I think he means classes should be selfish. Which means encapsulated in English. Here is an article describing selfish classes, though it is about the only Google hit.