Code smells in flash cards

The Bloaters

> Long Method

> Large Classes

> Long Parameters List

> Data Clumps

> Primitive Obsession

The Object-Orientation Abusers

> Switch Statement

> Temporary Fields

> Refused Bequest

> Alternative classes with different interfaces

The Couplers

> Feature Envy

> Inappropriate Intimacy

> Message Chains

> Middle Man

The Change preventers

> Shotgun Surgery

> Divergent Change

> Parallel Inheritance

The Dispensables

/*****
** I have to tell you why I wrote this code
** When it is being used
** And it will be wrong
*****/

> Lazy Class

> Comments

> Dead Code

> Data Class

> Speculative Generality

> Duplicate Code

Links

Made with Slides.com