▲ | remus 4 days ago | |
> I try to avoid creating APIs which are "liberal in what they accept" for exactly that reason. That's my preference too. When you have relaxed criteria about what kind of data you accept via an API I find you inevitably end up having to make decisions about how to massage that data in to some sort of canonical format, and those decisions almost always seem to end up leading to behaviour that's surprising to users in one way or another. |