The Artima Developer Community
Sponsored Link

Interface Design by Bill Venners
Avoid optional clauses in semantic contracts

Advertisement

Interface Design | Contents | Previous | Next

Perhaps compare Iterator with LinkMap and ModifiableLinkMap, rather than having Removerator.

Optional Semantics


Why Avoid Optional Semantics?


Collections API Design FAQ

Perhaps use Place and ModifiablePlace as example, instead of Removerator.

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use