'. '

PullXorPush

From APIDesign

Revision as of 14:23, 13 June 2017 by JaroslavTulach (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

The Extreme Advice Considered Harmful chapter of TheAPIBook talks about symmetry and how harmful seek for full symmetry can be - the chapter argues that there often isn't a need for both GettersAndSetters, that in many cases just getters are enough. Similar example can be given for pull vs. push APIs - it is unlikely you need both of them at once.

Don't Pull & Push at Once!

TBD

Personal tools
buy