DEV Community

loading...

Code Smells Series' Articles

Back to Maxi Contieri's Series
Code Smell 01 - Anemic Models

Code Smell 01 - Anemic Models

Reactions 66 Comments 9
1 min read
Code Smell 02 - Constants and Magic Numbers

Code Smell 02 - Constants and Magic Numbers

Reactions 7 Comments
1 min read
Code Smell 03 - Functions Are Too Long

Code Smell 03 - Functions Are Too Long

Reactions 4 Comments 2
1 min read
Code Smell 04 - String Abusers

Code Smell 04 - String Abusers

Reactions 5 Comments
1 min read
Code Smell 05 - Comment Abusers

Code Smell 05 - Comment Abusers

Reactions 4 Comments 5
1 min read
Code Smell 06 - Too Clever Programmer

Code Smell 06 - Too Clever Programmer

Reactions 6 Comments 6
1 min read
Code Smell 07 - Boolean Variables

Code Smell 07 - Boolean Variables

Reactions 3 Comments
1 min read
Code Smell 08 - Long Chains Of Collaborations

Code Smell 08 - Long Chains Of Collaborations

Reactions 2 Comments
1 min read
Code Smell 09 - Dead Code

Code Smell 09 - Dead Code

Reactions 4 Comments
1 min read
Code Smell 10 - Too Many Arguments

Code Smell 10 - Too Many Arguments

Reactions 1 Comments
1 min read
Code Smell 11 - Subclassification for Code Reuse

Code Smell 11 - Subclassification for Code Reuse

Reactions 1 Comments
1 min read
Code Smell 12 - Null

Code Smell 12 - Null

Reactions 2 Comments
1 min read
Code Smell 13 - Empty Constructors

Code Smell 13 - Empty Constructors

Reactions 1 Comments
1 min read
Code Smell 14 - God Objects

Code Smell 14 - God Objects

Reactions 3 Comments
1 min read
Code Smell 15 — Missed Preconditions

Code Smell 15 — Missed Preconditions

Reactions 1 Comments
1 min read
Code Smell 16 - Ripple Effect

Code Smell 16 - Ripple Effect

Reactions 1 Comments
1 min read
Code Smell 17 - Global Functions

Code Smell 17 - Global Functions

Reactions 1 Comments
1 min read
Code Smell 18 — Static Functions

Code Smell 18 — Static Functions

Comments
1 min read
Code Smell 19 — Optional Arguments

Code Smell 19 — Optional Arguments

Reactions 5 Comments
1 min read
Code Smell 20 - Premature Optimization

Code Smell 20 - Premature Optimization

Reactions 3 Comments
2 min read
Code Smell 21 - Anonymous Functions Abusers

Code Smell 21 - Anonymous Functions Abusers

Reactions 6 Comments 2
1 min read
Code Smell 22 - Helpers

Code Smell 22 - Helpers

Reactions 10 Comments 4
1 min read
Code Smell 23 - Instance Type Checking

Code Smell 23 - Instance Type Checking

Reactions 3 Comments 3
2 min read
Code Smell 24 - Boolean Coercions

Code Smell 24 - Boolean Coercions

Reactions 11 Comments 17
1 min read
Code Smell 25 - Pattern Abusers

Code Smell 25 - Pattern Abusers

Reactions 4 Comments
1 min read
Code Smell 26 - Exceptions Polluting

Code Smell 26 - Exceptions Polluting

Reactions 3 Comments
1 min read
Code Smell 27 - Associative Arrays

Code Smell 27 - Associative Arrays

Reactions 2 Comments
1 min read
Code Smell 28 - Setters

Code Smell 28 - Setters

Reactions 3 Comments
2 min read
Code Smell 29 - Settings/Configs

Code Smell 29 - Settings/Configs

Reactions 7 Comments 4
2 min read
Code Smell 30 - Mocking Business

Code Smell 30 - Mocking Business

Reactions 3 Comments
1 min read
Code Smell 31 - Accidental Methods on Business Objects

Code Smell 31 - Accidental Methods on Business Objects

Reactions 4 Comments
1 min read
Code Smell 32 - Singletons

Code Smell 32 - Singletons

Reactions 5 Comments 2
2 min read
Code Smell 33 - Abbreviations

Code Smell 33 - Abbreviations

Reactions 7 Comments 5
2 min read
Code Smell 34 - Too Many Attributes

Code Smell 34 - Too Many Attributes

Reactions 12 Comments 7
1 min read
Code Smell 35 - State as Properties

Code Smell 35 - State as Properties

Reactions 11 Comments 2
1 min read
Code Smell 36 - Switch/case/elseif/else/if statements

Code Smell 36 - Switch/case/elseif/else/if statements

Reactions 9 Comments 2
1 min read
Code Smell 37 - Protected Attributes

Code Smell 37 - Protected Attributes

Reactions 4 Comments 1
1 min read
Code Smell 38 - Abstract Names

Code Smell 38 - Abstract Names

Reactions 3 Comments
1 min read
Code Smell 39 - new Date()

Code Smell 39 - new Date()

Reactions 5 Comments
1 min read
Code Smell 40 - DTOs

Code Smell 40 - DTOs

Reactions 3 Comments
2 min read
Code Smell 41 - Regular Expression Abusers

Code Smell 41 - Regular Expression Abusers

Reactions 2 Comments
1 min read
Code Smell 42 - Warnings/Strict Mode Off

Code Smell 42 - Warnings/Strict Mode Off

Reactions 2 Comments 3
1 min read
Code Smell 43 - Concrete Classes Subclassified

Code Smell 43 - Concrete Classes Subclassified

Reactions 6 Comments
1 min read
Code Smell 44 - Magic Corrections

Code Smell 44 - Magic Corrections

Reactions 4 Comments
1 min read
Code Smell 45 - Not Polymorphic

Code Smell 45 - Not Polymorphic

Reactions 2 Comments
1 min read
Code Smell 46 - Repeated Code

Code Smell 46 - Repeated Code

Reactions 4 Comments
1 min read
Code Smell 47 - Diagrams

Code Smell 47 - Diagrams

Reactions 6 Comments 1
2 min read
Code Smell 48 - Code Without Standards

Code Smell 48 - Code Without Standards

Reactions 4 Comments 1
1 min read
Code Smell 49 - Caches

Code Smell 49 - Caches

Reactions 1 Comments
1 min read
Code Smell 50 - Object Keys

Code Smell 50 - Object Keys

Reactions 11 Comments 2
2 min read
Code Smell 51 - Double Negatives

Code Smell 51 - Double Negatives

Reactions 7 Comments 5
1 min read
Code Smell 52 - Fragile Tests

Code Smell 52 - Fragile Tests

Comments 1
1 min read
Code Smell 53 - Explicit Iteration

Code Smell 53 - Explicit Iteration

Reactions 15 Comments 15
1 min read
Code Smell 54 - Anchor Boats

Code Smell 54 - Anchor Boats

Reactions 4 Comments 2
1 min read
Code Smell 55 - Object Orgy

Code Smell 55 - Object Orgy

Comments
1 min read
Code Smell 56 - Preprocessors

Code Smell 56 - Preprocessors

Comments 4
2 min read
Code Smell 57 - Versioned Functions

Code Smell 57 - Versioned Functions

Reactions 2 Comments 3
1 min read
Code Smell 58 - Yo-yo Problem

Code Smell 58 - Yo-yo Problem

Reactions 2 Comments
1 min read
Code Smell 59 - Basic / Do Functions

Code Smell 59 - Basic / Do Functions

Reactions 5 Comments
1 min read
Code Smell 60 - Global Classes

Code Smell 60 - Global Classes

Reactions 3 Comments 3
1 min read
Code Smell 61 - Coupling to Classes

Code Smell 61 - Coupling to Classes

Reactions 6 Comments 5
2 min read
Code Smell 62 - Flag Variables

Code Smell 62 - Flag Variables

Reactions 1 Comments 1
1 min read