Do Not Expose More Than You Want

From APIDesign

Revision as of 09:41, 29 October 2008 by JaroslavTulach (Talk | contribs)
Jump to: navigation, search

Have You Ever Wondered...?

Do you want to know some simple trick that will help you design better APIs? The chapter 5 gives you one. It is very elementary, but very powerful. It also shows that the object oriented languages of today are not really optimized for API development and that there are many gotchas one needs to be aware of.

Friend Packages

Among others, this chapter introduces a Java API Design Pattern to join two packages into friend relationship.

Personal tools
buy