Y
Hacker News
new
|
ask
|
show
|
jobs
by
edwinnathaniel
4834 days ago
2 things: 3rd-party API that only works on "beans" and thin object (not your Services or DAOs that use DI heavily).
1 comments
mercurial
4834 days ago
You can't do much with 3rd-party APIs. For thin objects, a best practice is to keep them immutable by having only getters, but then you generally end up with Builder boilerplate.
link