▲ | dfee 3 days ago | |||||||
To use code, you need an interface. One for programming. Specifically to build an application. Why does the type of I/O boundary matter? | ||||||||
▲ | mettamage 3 days ago | parent [-] | |||||||
Wouldn't the interface in C simply be called function headers? Why are we using the term API? It seems a word like "function signatures" would also make it clear (or just signatures or headers). Maybe I just don't understand what the word interface means other than the GUI version of it. What's an interface in the analogue world? [2] By the way, one person downvoted me. To that person: it's fine that you downvoted me, but also let's try to keep an open and inclusive culture? I know it's a beginner question. I'm not a beginner, I use APIs all the time and have designed them as well. Just how I used servers without knowing for 5 years the semantic meaning behind it [1]. Understanding things deeply in that way is not my forte. [1] Though most people still don't know that clients/servers are roles of computer programs. Many programmers conflate servers with actual hardware in the sense of "a computer can be a client of a server". Well, no a piece of code can be a client to another piece of code and a server can be a piece of code to another piece of code. They're roles, not distinct hardware. [2] Claude mentions: Analog World Interfaces Door handle - The interface to a door mechanism. Whether it's a simple latch or complex electronic lock, you just turn/push the handle. An interface is basically the part you touch/use without needing to understand what's behind it. | ||||||||
|