Design
tight.txt
Associated article: Insidious Tight Coupling
Tags: Database Web Development .NET C/C++ Tools Open Source JVM Languages Design
Published source code accompanying the article by Bil Lewis in which he discusses insidious tight coupling, where, unknown to the compiler, one module depends on another. This can lead to overly complex development.
Insidious Tight Coupling
by Bil Lewis
Example 1:
(a)
class Person {
int age;
public int getAge() {return age;}
}
(b)
class Person {
int birthYear;
public int getAge() {return thisYear - birthYear;}
}
1


