I think you are right about APIs in general. The reason I said Google was
accurate is because they were talking about method declarations which are
a specific type of API. I agree with you that BIOS calls are also APIs but that
was not what was being described. The BIOS API has no methods and has no method
declarations.
IMO (although I seemed to have difficulty getting others
to agree with me) the most general definition of an API is a set of signatures
where each signature is associated with a very specific meaning. In the case of
Java, and many other OOP languages, the signature is the method declaration as
described by Google. In BIOS the signature may be simply an interrupt number.
The main requirement for the signatures is that they are uniquely identifiable
by both humans and computers.
---
Our job is to remind us that there are more contexts than the one that we’re in
— the one that we think is reality.
-- Alan Kay [ Reply to This | Parent | # ]
|