News for hackers. Stuff that matters.
Re:I don’t buy “duplication is cheaper than the wrong abstra... by wvenable on Tuesday August 29, 2023 @03:25PM (#37312621)
I'm working with an API right now that is absolutely based on duplicated code. They have a system for querying items and the API has 3 different ways depending on the endpoint. I just found a new one the other day and I hated it -- why is this one API unnecessarily different from all the rest!

I'm building a library to call this API and I've abstracted over all these differences so my callers never have to know how messed up the underlying API is -- they get a consistent experience regardless.

There are no comments on this comment yet.