Jul 26, 2020

3 min read

Object Design Checklist

There are some rules to follow and embrace to make great software designs. This article will summarize them, serving as an index to full stories.

Photo by Glenn Carstens-Peters on Unsplash

Axioms

Build a MAPPER

Keep a bijection to real entities:

Corollaries

Do not use null

Avoid accidental IFs

Favor immutability:

Avoid Setters and Getters:

Best practices

Avoid Coupling:

Fail Fast:

Avoid Meta-Programming:

Avoid Dynamic Code Generation:

Choose meaningful names

Build a Theory

Remove Accidental Complexity

Get Inspired by Quotes

Anti Patterns

Avoid Code Smells

Do not use Singleton:

Exercises

Part of the objective of this series of articles is to generate spaces for debate and discussion on software design.

We look forward to comments and suggestions on this article.

This article is also available in Spanish here.