DEV Community

# cleancode

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Rails: Query Object Pattern Implementation

Rails: Query Object Pattern Implementation

17
Comments 1
4 min read
Clean Code Applied to JavaScript — Part V. Exceptions

Clean Code Applied to JavaScript — Part V. Exceptions

216
Comments 6
4 min read
What are design patterns?

What are design patterns?

79
Comments
4 min read
Clean Code Applied to JavaScript — Part IV. Comments

Clean Code Applied to JavaScript — Part IV. Comments

181
Comments 7
4 min read
Say Farewell to Forgotten Cleanups

Say Farewell to Forgotten Cleanups

7
Comments
6 min read
Clean Code Applied to JavaScript — Part III. Functions

Clean Code Applied to JavaScript — Part III. Functions

351
Comments 17
9 min read
One thing I miss about unit tests: Unit tests as Documentation

One thing I miss about unit tests: Unit tests as Documentation

12
Comments
3 min read
Code comments are your code autobiography

Code comments are your code autobiography

3
Comments
4 min read
Clean Code Applied to JavaScript — Part II. Variables

Clean Code Applied to JavaScript — Part II. Variables

287
Comments 8
7 min read
Let's Clean Up: Ugly Try-Catches!

Let's Clean Up: Ugly Try-Catches!

92
Comments 13
3 min read
Clean Code Applied to JavaScript — Part I. Before your start

Clean Code Applied to JavaScript — Part I. Before your start

723
Comments 8
6 min read
Refactoring node.js (Part 1)

Refactoring node.js (Part 1)

333
Comments 43
5 min read
Refactoring node.js (Part 2)

Refactoring node.js (Part 2)

110
Comments 7
7 min read
Você tem um minuto ou dois, para falar de Code Smells? — Parte 1

Você tem um minuto ou dois, para falar de Code Smells? — Parte 1

15
Comments 6
3 min read
Go for SonarCloud with Github Actions

Go for SonarCloud with Github Actions

15
Comments 4
7 min read
About those puppies

About those puppies

12
Comments
4 min read
Identifying the dirt in our code - third party, tests and classes

Identifying the dirt in our code - third party, tests and classes

58
Comments 1
6 min read
Clean code... Why bother?

Clean code... Why bother?

426
Comments 39
4 min read
PHP Quality Tools package

PHP Quality Tools package

11
Comments
3 min read
Identifying the dirt in our code - names, functions, and comments

Identifying the dirt in our code - names, functions, and comments

408
Comments 27
9 min read
Clean code... Why bother? - Part 2

Clean code... Why bother? - Part 2

158
Comments 4
4 min read
How to Learn Software Design and Architecture [Roadmap]

How to Learn Software Design and Architecture [Roadmap]

109
Comments 1
2 min read
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
Why clean code is not the norm?

Why clean code is not the norm?

142
Comments 30
6 min read
Code Review Checklist ✅

Code Review Checklist ✅

63
Comments 1
4 min read
MVWTF: Demystifying Architecture Patterns

MVWTF: Demystifying Architecture Patterns

188
Comments 17
12 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
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

120
Comments 23
8 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

70
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

61
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!

75
Comments 10
4 min read
loading...