News for hackers. Stuff that matters.
Re:Ways to Decompose Fat ActiveRecord Models by cunac on Wednesday October 17, 2012 @11:08AM (#4664756)
you shouldn't have so many if at all utility classes in java as well services should be used to compose process behavior not domain behavior IMHO service -> enroll user user -> domain behavior eg. concrete distinct action in responsibility of that domain object I hate when people write code like this get attributes of object do something with attributes set attributes back

instead having operation on object doing this and clearly encapsulate behavior and hopefully data as well

There are no comments on this comment yet.