DEV Community

# cleancode

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Exception Factories for better code

Exception Factories for better code

9
Comments
2 min read
Let's abuse the if statement!

Let's abuse the if statement!

6
Comments 1
2 min read
The dead singleton and three ways to overcome it

The dead singleton and three ways to overcome it

16
Comments
4 min read
TDD and bug fixing - the duo you can't be without

TDD and bug fixing - the duo you can't be without

10
Comments
5 min read
Why clean code is not the norm?

Why clean code is not the norm?

142
Comments 30
6 min read
MVWTF: Demystifying Architecture Patterns

MVWTF: Demystifying Architecture Patterns

188
Comments 17
12 min read
Code Review Checklist ✅

Code Review Checklist ✅

63
Comments 1
4 min read
Impetuous Encasing

Impetuous Encasing

5
Comments
2 min read
Guard Clauses: How to clean up Conditionals

Guard Clauses: How to clean up Conditionals

22
Comments 2
2 min read
How to organize your Asp.net core Startup file

How to organize your Asp.net core Startup file

18
Comments 3
3 min read
Go for SonarQube

Go for SonarQube

25
Comments
5 min read
Principio de sustitución de Liskov (LSP)

Principio de sustitución de Liskov (LSP)

3
Comments 1
3 min read
Constructores semánticos

Constructores semánticos

6
Comments
3 min read
Patrón Command

Patrón Command

8
Comments
4 min read
Patrón Factory

Patrón Factory

4
Comments
3 min read
Cláusulas de Guarda

Cláusulas de Guarda

4
Comments
2 min read
Washing your code: avoid conditions

Washing your code: avoid conditions

144
Comments 7
14 min read
Do Whatever You Want, So Will I

Do Whatever You Want, So Will I

3
Comments 4
2 min read
Understanding Design Patterns: Decorator using Long Night (GOT) Example!

Understanding Design Patterns: Decorator using Long Night (GOT) Example!

138
Comments 2
7 min read
Understanding Iterator Pattern in JavaScript/Typescript using Symbol.Iterator

Understanding Iterator Pattern in JavaScript/Typescript using Symbol.Iterator

140
Comments
7 min read
Solving the Boolean Identity Crisis: Part 3

Solving the Boolean Identity Crisis: Part 3

7
Comments
5 min read
Solving the Boolean Identity Crisis: Part 2

Solving the Boolean Identity Crisis: Part 2

5
Comments
6 min read
Solving the Boolean Identity Crisis: Part 1

Solving the Boolean Identity Crisis: Part 1

2
Comments
4 min read
//TODO: Write a better comment

//TODO: Write a better comment

124
Comments 24
8 min read
Decoupling Laravel Code

Decoupling Laravel Code

14
Comments 1
2 min read
Understanding Design Patterns: Iterator using Dev.to and Medium social networks!

Understanding Design Patterns: Iterator using Dev.to and Medium social networks!

148
Comments 1
7 min read
Object Calisthenics in Golang

Object Calisthenics in Golang

72
Comments 4
7 min read
Refactoring: Guard Clauses

Refactoring: Guard Clauses

123
Comments 6
4 min read
Understanding Design Patterns: Command Pattern using StockTrader and R2D2 (StarWars) Examples!

Understanding Design Patterns: Command Pattern using StockTrader and R2D2 (StarWars) Examples!

122
Comments 2
6 min read
Make your function calls more readable

Make your function calls more readable

53
Comments 3
4 min read
Washing your code: avoid loops

Washing your code: avoid loops

52
Comments 5
7 min read
Coding Cleaner

Coding Cleaner

16
Comments 3
5 min read
Software Architecture: Therac-25 the killer radiation machine

Software Architecture: Therac-25 the killer radiation machine

62
Comments
6 min read
Understanding Design Patterns: Singleton using Hero Examples! (Batman and Spiderman are inside).

Understanding Design Patterns: Singleton using Hero Examples! (Batman and Spiderman are inside).

133
Comments
6 min read
Understanding Design Patterns: Facade using Pokemon and Dragonball Examples!

Understanding Design Patterns: Facade using Pokemon and Dragonball Examples!

174
Comments
6 min read
Variable looked at me and said: “Say my name!”

Variable looked at me and said: “Say my name!”

5
Comments
3 min read
Design Patterns - Adapter

Design Patterns - Adapter

142
Comments 5
5 min read
Short methods FTW

Short methods FTW

6
Comments 2
3 min read
ASP.Net Clean Architecture

ASP.Net Clean Architecture

15
Comments
3 min read
9 Books For Junior Developers In 2019

9 Books For Junior Developers In 2019

31
Comments 10
10 min read
Demeter’s Law: Don’t talk to strangers!

Demeter’s Law: Don’t talk to strangers!

77
Comments 10
4 min read
Writing better test assertions

Writing better test assertions

17
Comments 1
8 min read
Dependency injection: PHP edition

Dependency injection: PHP edition

67
Comments 4
3 min read
Design Patterns - Template Method

Design Patterns - Template Method

118
Comments 8
5 min read
Applications as Frameworks

Applications as Frameworks

8
Comments
5 min read
Refactorings with Design Patterns

Refactorings with Design Patterns

5
Comments
2 min read
Software Design Questions

Software Design Questions

6
Comments
2 min read
Virtue always has neighbours

Virtue always has neighbours

35
Comments 4
6 min read
Protect your system from changes in 3rd party dependencies

Protect your system from changes in 3rd party dependencies

23
Comments
3 min read
Choosing which refactorings to use based on code smells

Choosing which refactorings to use based on code smells

6
Comments
2 min read
The Three Laws of Objects

The Three Laws of Objects

26
Comments
5 min read
Write Your Own Javascript Contracts and Docstrings

Write Your Own Javascript Contracts and Docstrings

29
Comments 1
3 min read
Lambda Expressions in C++

Lambda Expressions in C++

28
Comments 11
10 min read
What is your single most important rule for good software design?

What is your single most important rule for good software design?

15
Comments 12
1 min read
It's wrong to treat "Draft" mode as a state on the way to "Final"

It's wrong to treat "Draft" mode as a state on the way to "Final"

9
Comments 11
1 min read
What It Takes to Get Certified to Review Code At Google

What It Takes to Get Certified to Review Code At Google

42
Comments 5
2 min read
From Scratch : User Authentication (Part 2)

From Scratch : User Authentication (Part 2)

7
Comments
1 min read
How do you declare a function in C++?

How do you declare a function in C++?

13
Comments 4
4 min read
Handling complex MVC applications - How to scale and avoid Controller chaos

Handling complex MVC applications - How to scale and avoid Controller chaos

105
Comments 27
7 min read
From Scratch: User Authentication

From Scratch: User Authentication

40
Comments
4 min read
loading...