how to decouple data from business logic
Here is the scenario, Let's say I have a user class like so: public class User{ private String firstName; private String lastName; //... // setter, getters } Then I have a class like so to handle user Comments: public class Comments{ // some fields public static loadComments(User user, int count){...} } So far very basic s...