DEV Community

# cleancode

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Keeping your code clean by sweeping out "if" statements

Keeping your code clean by sweeping out "if" statements

755
Comments 122
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
Clean code... Why bother?

Clean code... Why bother?

426
Comments 39
4 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
Software Architecture - Complete Guide

Software Architecture - Complete Guide

370
Comments 8
3 min read
Clean Code Applied to JavaScript — Part III. Functions

Clean Code Applied to JavaScript — Part III. Functions

351
Comments 17
9 min read
Refactoring node.js (Part 1)

Refactoring node.js (Part 1)

333
Comments 43
5 min read
Clean Code Applied to JavaScript — Part VI. Avoid Conditional Complexity

Clean Code Applied to JavaScript — Part VI. Avoid Conditional Complexity

294
Comments 2
5 min read
Clean Code Applied to JavaScript — Part II. Variables

Clean Code Applied to JavaScript — Part II. Variables

287
Comments 8
7 min read
Clean Code Applied to JavaScript — Part V. Exceptions

Clean Code Applied to JavaScript — Part V. Exceptions

216
Comments 6
4 min read
Some Best Practices of Javascript for clean and better code quality...

Some Best Practices of Javascript for clean and better code quality...

211
Comments 10
4 min read
Understanding Design Patterns: Null Object

Understanding Design Patterns: Null Object

195
Comments 2
7 min read
MVWTF: Demystifying Architecture Patterns

MVWTF: Demystifying Architecture Patterns

188
Comments 17
12 min read
Part 4: Writing Clean and Efficient React Code- Best Practices and Optimization Techniques

Part 4: Writing Clean and Efficient React Code- Best Practices and Optimization Techniques

186
Comments 19
7 min read
Improving Your React Code - Custom Hooks

Improving Your React Code - Custom Hooks

185
Comments 11
5 min read
5 clean code techniques you can start doing today

5 clean code techniques you can start doing today

183
Comments 13
8 min read
Clean Code Applied to JavaScript — Part IV. Comments

Clean Code Applied to JavaScript — Part IV. Comments

181
Comments 7
4 min read
CĂłdigo Limpo - CapĂ­tulo 4

CĂłdigo Limpo - CapĂ­tulo 4

178
Comments 9
4 min read
9 Great Tips To Use Javascript Array Methods Like a Pro!

9 Great Tips To Use Javascript Array Methods Like a Pro!

175
Comments 8
6 min read
Clean code... Why bother? - Part 2

Clean code... Why bother? - Part 2

158
Comments 4
4 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
Washing your code: avoid conditions

Washing your code: avoid conditions

144
Comments 7
14 min read
Why clean code is not the norm?

Why clean code is not the norm?

142
Comments 30
6 min read
JavaScript concepts to write better React code

JavaScript concepts to write better React code

141
Comments 5
3 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
Understanding Design Patterns: Decorator using Long Night (GOT) Example!

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

138
Comments 2
7 min read
Writing cleaner Go web servers

Writing cleaner Go web servers

134
Comments 6
7 min read
Clean Code Applied to JavaScript - Part VII: Practical Refactoring Example: Ceaser Cipher

Clean Code Applied to JavaScript - Part VII: Practical Refactoring Example: Ceaser Cipher

125
Comments 1
15 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
3 Tips to write better react components

3 Tips to write better react components

121
Comments 10
3 min read
Understanding Design Patterns: Builder

Understanding Design Patterns: Builder

120
Comments
13 min read
//TODO: Write a better comment

//TODO: Write a better comment

120
Comments 23
8 min read
Refactoring node.js (Part 2)

Refactoring node.js (Part 2)

110
Comments 7
7 min read
How to Learn Software Design and Architecture [Roadmap]

How to Learn Software Design and Architecture [Roadmap]

109
Comments 1
2 min read
Clean JavaScript - 10 Tips

Clean JavaScript - 10 Tips

100
Comments 7
7 min read
Clean Architecture in Frontend

Clean Architecture in Frontend

95
Comments
7 min read
Understanding Design Patterns: Abstract Factory

Understanding Design Patterns: Abstract Factory

92
Comments 1
11 min read
Let's Clean Up: Ugly Try-Catches!

Let's Clean Up: Ugly Try-Catches!

92
Comments 13
3 min read
Understanding Design Patterns: Factory-Method

Understanding Design Patterns: Factory-Method

91
Comments
11 min read
How to eliminate if-else chain, for long life software

How to eliminate if-else chain, for long life software

88
Comments 30
2 min read
Clean code (TH.)

Clean code (TH.)

86
Comments 2
2 min read
Don't use margin in CSS

Don't use margin in CSS

81
Comments 22
4 min read
Best Practices for all developers

Best Practices for all developers

80
Comments 8
16 min read
Implementando Clean Architecture com Golang

Implementando Clean Architecture com Golang

79
Comments 4
10 min read
What are design patterns?

What are design patterns?

79
Comments
4 min read
Object Calisthenics in Golang

Object Calisthenics in Golang

70
Comments 4
7 min read
Clean Code with React Context

Clean Code with React Context

65
Comments
5 min read
Code Review Checklist ✅

Code Review Checklist ✅

63
Comments 1
4 min read
JavaScript: Write cleaner code with Functional Programming

JavaScript: Write cleaner code with Functional Programming

62
Comments 3
4 min read
Single Responsibility Principle in TypeScript

Single Responsibility Principle in TypeScript

61
Comments 7
1 min read
CSS Clean Code

CSS Clean Code

61
Comments 5
3 min read
Ternary Operator: Better Alternatives

Ternary Operator: Better Alternatives

60
Comments 4
2 min read
Dependency Inversion Principle in TypeScript

Dependency Inversion Principle in TypeScript

60
Comments 2
1 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 exercises - part 1

Clean code exercises - part 1

58
Comments 11
3 min read
DonÂŽt use Singleton Pattern in your unit tests

DonÂŽt use Singleton Pattern in your unit tests

56
Comments 3
3 min read
How I Write Clean Code As A Develeoper : Step By Step

How I Write Clean Code As A Develeoper : Step By Step

55
Comments 7
5 min read
Open/Closed Principle in TypeScript

Open/Closed Principle in TypeScript

53
Comments 1
1 min read
Make your function calls more readable

Make your function calls more readable

53
Comments 3
4 min read
loading...