Re:Better Java – Resources for Writing Modern Java
by cam- on Sunday September 20, 2015 @03:45PM
(#10248755)
For DTOs we don't user mutators. Just public member variables. It is the only way to keep business logic out of them. That being said, I wish Java has some object/struct syntactic sugar like Javascript Object Literals. They are so powerful.
[ Parent
| on HN ]
There are no comments on this comment yet.