Aug
31
2006
How to Design a Good API and Why it Matters
Posted by: Sergey Chernyshev in API, PDF, SlidesPresentation by Joshua Bloch, Google Inc. (Sun previously, author of Effective Java) at Library-Centric Software Design LCSD’05 on Sunday, October 16, 2005 (slides in PDF)
Interesting quotes:
- Public APIs are forever - one chance to get it right
- Good code is modular–each module has an API
- Thinking in terms of APIs improves code quality
- Easy to use, even without documentation
- Don’t let implementation details “leak” into API
- Make classes and members as private as possible
- and more …


Entries (RSS)