"You have probably read this book. At a recent gathering of 25 CTO's, I asked who had read The Mythical Man Month, and 23 hands went up."TLDR ...
sdf
"You have probably read this book. At a recent gathering of 25 CTO's, I asked who had read The Mythical Man Month, and 23 hands went up."TLDR ...
public class Holder {
private int n;
public Holder(int n) { this.n = n; }
public void assertSanity() {
if (n != n)
throw new AssertionError("This statement is false.");
}
}
Readable code is the key to correct and maintainable programs.
...
Subclassing is evil
“There are two ways of constructing a software design:Reenskaug, Trygve. "The Common Sense of Object Orientated Programming"
One way is to make it so simple that there are obviously no deficiencies
and the other is to make it so complicated that there are no obvious deficiencies.
"Object-oriented programming was supposed to unify the perspectives of the programmer and the end user in computer code: a boon both to usability and program comprehension. While objects capture structure well, they fail to capture system action. DCI is a vision to capture the end user cognitive model of roles and interactions between them."