mirror of
https://github.com/semver/semver.git
synced 2026-07-11 03:53:53 -05:00
[GH-ISSUE #236] API defintion? #5278
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @FrankDMartinez on GitHub (Dec 9, 2014).
Original GitHub issue: https://github.com/semver/semver/issues/236
The website "semver.org" states:
Exactly what qualifies as an "API"? Any function/method/procedure? Only specific ones?
@noirotm commented on GitHub (Dec 12, 2014):
API stands for Application Programming Interface. The important word here is interface.
Simply put, an API represents a contract, that is what functionality is exposed to the consumers of your software, be it classes, functions, constants, as well as the documentation of what those do or represent.
If you expose a function, but suddenly decide to change what it does, for example by changing the return values, even though you are not changing its signature, but are documenting the change, you have changed the API.
So the API represents the whole set of what is publicly exposed by your software for others to use.
@jwdonahue commented on GitHub (Dec 8, 2017):
@FrankDMartinez, unless you have further questions, please close this issue at your earliest possible convenience.