Hacker News new | ask | show | jobs
by 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.