Are principles SMART?

SMART is a set of criteria for setting effective goals. I recently saw a recommendation that architecture principles should be SMART, but I’m not convinced.

October 5, 2022 · 3 min

SOLID is a toolbox for Conceptual Scope

I’ve been pondering properties of self-documenting code. Comparing self-documenting properties against SOLID lead me to realize Information Hiding, or conceptual scope, is the central theme of SOLID.

October 2, 2022 · 2 min

Open-Closed Principle by Example: Conclusion

This series clarifies the Open-Closed Principle with examples. This post recaps what we’ve learned

September 16, 2022 · 2 min

Open-Closed Principle by Example: Anti-Examples

This series clarifies the Open-Closed Principle with examples. This post describes some approaches that may look like the OCP, but don’t deliver the expected value.

September 16, 2022 · 3 min

Open-Closed Principle by Example: OCP as Architecture

This series clarifies the Open-Closed Principle with examples. This post applies OCP to the system level with architecture patterns like ports and adapters.

September 16, 2022 · 9 min

Open-Closed Principle by Example: Interchangable Implementations

This series clarifies the Open-Closed Principle with examples. This post will demonstrate the OCP through interchangable and composable dependencies.

September 16, 2022 · 6 min

Open-Closed Principle by Example: Callbacks & Handlers

This series clarifies the Open-Closed Principle with examples. This post will demonstrate how the OCP can be achieved through flexible behaviors like callbacks.

September 16, 2022 · 6 min

Open-Closed Principle by Example: Flexibility Through Data

This series clarifies the Open-Closed Principle with examples. This post will demonstrate how the OCP can be achieved through flexible data.

September 16, 2022 · 7 min

Open-Closed Principle by Example: Introduction to OCP

The Open-Closed Principle, one of the SOLID principles, is crucial to reusable code and insulated domains. This series will clarify the principle with examples.

September 16, 2022 · 3 min

Dependency Inversion > Dependency Injection

Dependency Injection has gained popularity in recent years. This is good, but Dependency Injection does not enjoy the full benefit of Dependency Inversion perscribed by the SOLID principles. This post will clarify the difference and some of the addition power enjoyed by Dependency Inversion.

July 3, 2022 · 7 min