4 ms·
API endpoints are not variables. Variable names are local and disposable, they don't even survive the compilation process in most languages. Meanwhile, APIs, a
by 3cats-in-a-coat 3y ago
API endpoints are not variables. Variable names are local and disposable, they don't even survive the compilation process in most languages.
Meanwhile, APIs, as interfaces, are forever. And the dumbest thing to do is to decide to have two names for one type in an interface, because grammar happens to have single and plural version for words. Why would you do that? APIs have no grammar, they're not sentences, they're made of identifiers that need to uniquely identify something. So stop trying to force grammar in.