Meanings drift over time. We can probably credit the terms 'REST API', 'HTTP API', and 'JSON API' for popularizing the usage of the term for 'web service', especially since that term went out of fashion in the mid-2000s.
Eh, 'service' is an extremely overloaded term, so constructions like 'HTTP service' and 'JSON service' are ambiguous and awkward. I actually rather prefer the term 'API' used as a metonym [1] to describe the running instantiation of the 'actual' API, because the meaning is disambiguated by context.
> [...] because the meaning is disambiguated by context.
Until it's not disambiguated, especially that API and service implementing the
API are in quite close domains and they will cause trouble in understanding.
Really, no need to pollute our already difficult jargon with "API" meaning
"service" ("API service", if you feel that "service" is overloaded).
6 comments
[ 3.0 ms ] story [ 34.7 ms ] threadIs it me, or is it the programmers today can't tell the difference between service and specification?
I do understand, however, that meanings drift. Mostly because undereducated and clueless people, unfortunately.
[1] https://en.wikipedia.org/wiki/Metonymy
Until it's not disambiguated, especially that API and service implementing the API are in quite close domains and they will cause trouble in understanding. Really, no need to pollute our already difficult jargon with "API" meaning "service" ("API service", if you feel that "service" is overloaded).