Anti-pattern

Avoid the Telescoping Anti-pattern in Java

The Telescoping anti-pattern is widely-spread, just like a virus. It starts with good intentions. For example, a class that has two properties like this: The above constructor starts being used for creating new Example objects. At one point, the project requirements change and a third parameter is needed. For example, let’s assume that the above… read more »

Sidebar