Jason Mauss' Blog CabinBecause someone's got to do the dirty workHow to determine object responsibility- July 17, 2008 Right now I'm working on a project that requires its own custom registrationauthentication system and it got me thinking about object responsiblity and OO design.I'll pose this question and see what kind of opinions everyone has.I have a "User" class with the usual properties - first name, last name, email, etc.etc.Should my User class have a method named "Register" where the User object is responsible for knowing how to register itself - OR - should I have a 'Register' method in say, some kind.http://weblogs.asp.net/jamauss/archive/2008/07/17/how-to-determine-object-responsibility.a... |