News for hackers. Stuff that matters.
Re:I don’t buy “duplication is cheaper than the wrong abstra... by simonw on Tuesday August 29, 2023 @03:16PM (#37312504)
It absolutely is an issue worth discussing, any time you are maintaining a library with more than a few other people using it.

Breaking backwards compatibility in a library with hundreds or thousands of users is not something to be taken lightly!

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.