Archive for August 31st, 2006

Presentation 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)

How to Design a Good<br />
API and Why it Matters

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 …

Comments 1 Comment »