←Older revision | Revision as of 06:41, 31 October 2009 | ||
Line 26: | Line 26: | ||
letting my [[LeakingCulturalContext|cultural context leak]]. | letting my [[LeakingCulturalContext|cultural context leak]]. | ||
- | What does this have to do with API Design? API is about | + | What does this have to do with [[API]] Design? [[API]] is about |
abstractions. About hiding the gory details of a library behind a | abstractions. About hiding the gory details of a library behind a | ||
- | facade, behind the API. However, regardless of how much time you spend | + | facade, behind the [[API]]. However, regardless of how much time you spend |
designing your facade, it can easily happen that the implementation | designing your facade, it can easily happen that the implementation | ||
- | + | [[Leaky abstractions|details leak out]] and users of your API need to face them. | |
Regardless of how much you try, your expectations, your context, your | Regardless of how much you try, your expectations, your context, your | ||
implementation will inevitably be around the corner and waiting to | implementation will inevitably be around the corner and waiting to | ||
- | jump out from your API unexpectedly. We can do our best, but there is | + | jump out from your [[API]] unexpectedly. We can do our best, but there is |
- | almost always something left unnoticed. | + | almost always something left unnoticed. [[Leaky abstractions|Contexts leak]]. In case |
you are describing your life experience, in case you are writing about | you are describing your life experience, in case you are writing about | ||
- | your project API design experiences, or when you create an API facade | + | your project [[API]] design experiences, or when you create an API facade |
over implementation of your library. You will all the time | over implementation of your library. You will all the time | ||
expose more than you should. Get ready for that. | expose more than you should. Get ready for that. | ||
And good luck preventing such leakages! | And good luck preventing such leakages! |