I think I actually really like the hamburgers/menus explanation.https://twitter.com/nilixblue/status/732701581347553280 …
-
-
personally, I'd start with the C header file. Separates the interface from the implementation.
Merci. Twitter en tiendra compte pour améliorer votre fil. SupprimerSupprimer
-
-
-
Merci. Twitter en tiendra compte pour améliorer votre fil. SupprimerSupprimer
-
-
-
at least they don’t have to explain monads: https://byorgey.wordpress.com/2009/01/12/abstraction-intuition-and-the-monad-tutorial-fallacy/ …
Merci. Twitter en tiendra compte pour améliorer votre fil. SupprimerSupprimer
-
-
-
Did anyone try the old standard "APIs are like contracts" analogy?
Merci. Twitter en tiendra compte pour améliorer votre fil. SupprimerSupprimer
-
-
-
I keep thinking a contract would be a good analogy. "If you call this then that will happen."
Merci. Twitter en tiendra compte pour améliorer votre fil. SupprimerSupprimer
-
-
-
- paraphrasing Sagan, you're not making a cake from scratch. You're not milling flour, churning butter, farming eggs. That's api
Merci. Twitter en tiendra compte pour améliorer votre fil. SupprimerSupprimer
-
-
-
In a dog training school, an API would be the commands taught. Not the lesson, not the tricks, just the list of commands. ja?
Merci. Twitter en tiendra compte pour améliorer votre fil. SupprimerSupprimer
-
-
-
.
@sarahjeong maybe McDonalds? All of the McDonalds in a city will share the same core set of items, and if you ask for a burger, it will be -
basically exactly the same at every McDonalds; you know what to expect. You might go to different McDonalds because one is
-
closer than another, or offers more seating or whatever. You expect that all McDonalds in the US will offer the same core items
-
like a burger, cheeseburger, whatever. This consistency ensures that you can go to any McDonalds and expect the same core
-
experience, though maybe you prefer some McDonalds locations to others
-
(the location is the implementation, the experience/menu is the API)
Fin de la conversation
Nouvelle conversation -
-
-
As in most trials, most detailed or defensible analogy =/= most helpful to jurors. Does juror get the essence? That's the point.
Merci. Twitter en tiendra compte pour améliorer votre fil. SupprimerSupprimer
-
-
-
But all of them *have* made me hungry, hmmm
Merci. Twitter en tiendra compte pour améliorer votre fil. SupprimerSupprimer
-
-
-
the one place it falls down is that no one thought up the words for English, but it illustrates the absurdity accurately.
Merci. Twitter en tiendra compte pour améliorer votre fil. SupprimerSupprimer
-
-
-
If you compare an API to the words and the implementation to the definitions, you almost have it.
Merci. Twitter en tiendra compte pour améliorer votre fil. SupprimerSupprimer
-
-
-
I like a dictionary.
Merci. Twitter en tiendra compte pour améliorer votre fil. SupprimerSupprimer
-
-
-
or better yet, they are and we're all just confused.
Merci. Twitter en tiendra compte pour améliorer votre fil. SupprimerSupprimer
-
Le chargement semble prendre du temps.
Twitter est peut-être en surcapacité ou rencontre momentanément un incident. Réessayez ou rendez-vous sur la page Twitter Status pour plus d'informations.