Next privilege 250 Rep.
View close votes
Next badge 0/1
~2k people reached
- 0 posts edited
- 0 helpful flags
- 25 votes cast
Is wrapping third-party API calls a design smell?
yes, even though the calls are only present in five or so methods (presently), wrapping the logic (specifically, marshalling/unmarshalling an object to/from JSON) provides for a single point of change if I later down the track decide to use a different Object-to-JSON utility API.
Term for domain specific business object?
DTO is exactly what I was referring to.