News for hackers. Stuff that matters.
Re:Systems Design for Advanced Beginners by kqr on Wednesday July 22, 2020 @03:44AM (#23914842)
Granted, APIs aren't updated often, but when they are, generated clients can save a lot of time. I can update a generated client in half an hour and be very confident of its correctness, whereas a manually constructed client would take hours to update and test.

Of course, the generated client is not very convenient, being a 1-to-1 mapping with the API. You build a high-level client with the more common operations on top of the generated one.

It's possible to do this in a way that gets you the best of both approaches, with some up-front planning.

There are no comments on this comment yet.