"This tension between the costs of concretion and the costs of abstraction is fundamental to object-oriented design. Concrete code is easy to understand but costly to extend. Abstract code may initially seem more obscure but, once understood, is far easier to change. Use of a duck type moves your code along the scale from more concrete to more abstract, making the code easier to extend but casting a veil over the underlying class of the duck."
Dodał: Artur
Dodano: 12 IV 2014 (ponad 11 lat temu)
00
Najnowsze dyskusje do książek autora
Do książek autora nie dodano jeszcze ani jednego tematu dyskusji.