The Mikado Method by Ola Ellnestam Daniel Brolund
Author:Ola Ellnestam Daniel Brolund
Language: eng
Format: epub
Publisher: Manning Publications
Problem
Another common scenario when restructuring code is that you find a class that implements the contract of an abstraction or a base class, but when you make assumptions based on this, you get runtime or compiler errors. This is likely because the contract of the abstraction is broken in some way.
There are several ways to break a contract, and a common example is the Square-Rectangle problem. For example, here’s a Rectangle class:
public class Rectangle { public Rectangle(int height, int width) { . . . } public void setHeight(int height) { . . . } public int getHeight() { . . . } public void setWidth(int width) { . . . } public int getWidth() { . . . } }
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Deep Learning with Python by François Chollet(11814)
Hello! Python by Anthony Briggs(9346)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(9318)
The Mikado Method by Ola Ellnestam Daniel Brolund(9279)
Dependency Injection in .NET by Mark Seemann(8825)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(7827)
Grails in Action by Glen Smith Peter Ledbrook(7280)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(7241)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(7088)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(5929)
Kotlin in Action by Dmitry Jemerov(4613)
Practical Vim (for Kathryn Amaral) by Drew Neil(3714)
Cracking the GRE Premium Edition with 6 Practice Tests, 2015 (Graduate School Test Preparation) by Princeton Review(3576)
Linux Device Driver Development Cookbook by Rodolfo Giometti(3307)
Learn Windows PowerShell in a Month of Lunches by Don Jones(3215)
Learning Java by Patrick Niemeyer & Daniel Leuck(2860)
Learning React: Functional Web Development with React and Redux by Banks Alex & Porcello Eve(2818)
Mastering Java 9 by Dr. Edward Lavieri(2561)
Learning Concurrency in Python by Elliot Forbes(2536)