Hacker News new | ask | show | jobs
by Oletros 3410 days ago
> They took not just the signatures but their semantic meaning

What's the difference between the signature of an API and the semantic meaning?

1 comments

If you write a function int makeHash(int) which computes a trapdoor function, and I write a function int makeHash(int) which prepares breakfast and returns a status code, then they have the same signature but different semantic meaning.
But in the case of API's, the signatures and the semantic meaning are the same