DEV Community

# cleancode

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
SOLID Principles in Swift: Open/Closed Principle

SOLID Principles in Swift: Open/Closed Principle

5
Comments
4 min read
Programming Advice From 1976

Programming Advice From 1976

4
Comments
3 min read
Revisiting the O in SOLID

Revisiting the O in SOLID

6
Comments
2 min read
C# code refactoring - Introduction

C# code refactoring - Introduction

10
Comments
5 min read
Code Comments Are Stupid

Code Comments Are Stupid

11
Comments 7
6 min read
Understanding Design Patterns: Factory-Method

Understanding Design Patterns: Factory-Method

91
Comments
11 min read
Real life angular inheritance example

Real life angular inheritance example

5
Comments
5 min read
Clean up your code by removing unneeded indentation 🧹

Clean up your code by removing unneeded indentation 🧹

22
Comments 4
2 min read
Why you shouldn't mix levels of abstraction in your functions

Why you shouldn't mix levels of abstraction in your functions

18
Comments
2 min read
Presenting Exceptions to Users

Presenting Exceptions to Users

8
Comments
8 min read
JS Clean Code tip: Don't use tuples for returned objects

JS Clean Code tip: Don't use tuples for returned objects

8
Comments 2
1 min read
Code Smell 53 - Explicit Iteration

Code Smell 53 - Explicit Iteration

15
Comments 15
2 min read
Code Smell 54 - Anchor Boats

Code Smell 54 - Anchor Boats

4
Comments 2
2 min read
Exceptions and Streams

Exceptions and Streams

13
Comments 1
5 min read
DIP - The Dependency Inversion Principle

DIP - The Dependency Inversion Principle

8
Comments
3 min read
ISP - The Interface Segregation Principle

ISP - The Interface Segregation Principle

1
Comments
3 min read
LSP - The Liskov Substitution Principle

LSP - The Liskov Substitution Principle

1
Comments
3 min read
My take on clean code

My take on clean code

30
Comments 3
4 min read
OCP - The Open-Closed Principle

OCP - The Open-Closed Principle

6
Comments
3 min read
SRP - The Single Responsibility Principle

SRP - The Single Responsibility Principle

3
Comments
3 min read
A Subtle Art Of Writing Good Code Comments

A Subtle Art Of Writing Good Code Comments

12
Comments
6 min read
DRY - Don’t repeat yourself

DRY - Don’t repeat yourself

9
Comments
3 min read
SLAP: Single Level of Abstraction Principle

SLAP: Single Level of Abstraction Principle

9
Comments
1 min read
Hide Checked Exceptions with SneakyThrows

Hide Checked Exceptions with SneakyThrows

15
Comments 2
4 min read
What Clean Means and Why you Should Care 🧹

What Clean Means and Why you Should Care 🧹

32
Comments 5
2 min read
Don't name objects for what they are used for but for what they represent

Don't name objects for what they are used for but for what they represent

3
Comments
1 min read
A Deeper Dive into Function Arity (With a Focus on Javascript)

A Deeper Dive into Function Arity (With a Focus on Javascript)

13
Comments
10 min read
Understanding Design Patterns: Builder

Understanding Design Patterns: Builder

120
Comments
13 min read
Why write unit tests?

Why write unit tests?

4
Comments
3 min read
Never rely on Strings for conditionals

Never rely on Strings for conditionals

5
Comments
3 min read
Simple but powerful Coding Practices that you can adopt immediately: Consistent naming conventions

Simple but powerful Coding Practices that you can adopt immediately: Consistent naming conventions

9
Comments
2 min read
Organizing your code: 3 ways to create namespaces in Python

Organizing your code: 3 ways to create namespaces in Python

7
Comments
5 min read
Writing a good variable name

Writing a good variable name

5
Comments
1 min read
Two reasons why you should add a return type in your functions in Kotlin

Two reasons why you should add a return type in your functions in Kotlin

4
Comments
2 min read
Code Smell 45 - Not Polymorphic

Code Smell 45 - Not Polymorphic

2
Comments
1 min read
Simple State Machines In Java

Simple State Machines In Java

8
Comments
3 min read
What is technical debt?

What is technical debt?

10
Comments 3
1 min read
How to Comment Your Code Like a Boss

How to Comment Your Code Like a Boss

6
Comments 2
2 min read
Simple but powerful Coding Practices that you can adopt immediately: Indentation & whitespace

Simple but powerful Coding Practices that you can adopt immediately: Indentation & whitespace

9
Comments
2 min read
Why using DateTime.Now directly is a bad idea

Why using DateTime.Now directly is a bad idea

15
Comments
5 min read
Book: Clean Code

Book: Clean Code

3
Comments 2
20 min read
Writing Good Unit Tests; Don’t Mock Database Connections

Writing Good Unit Tests; Don’t Mock Database Connections

12
Comments 2
6 min read
Don't make setters of properties in your class public!

Don't make setters of properties in your class public!

11
Comments 2
4 min read
The Reason Why You Have To Write Clean Code

The Reason Why You Have To Write Clean Code

9
Comments 2
3 min read
Clean code exercises - part 1

Clean code exercises - part 1

58
Comments 11
3 min read
Simple but powerful Coding Practices that you can adopt immediately: Naming and DRY

Simple but powerful Coding Practices that you can adopt immediately: Naming and DRY

6
Comments
3 min read
React components doing too much (and how to simplify them)

React components doing too much (and how to simplify them)

5
Comments
4 min read
Clean code (TH.)

Clean code (TH.)

86
Comments 2
2 min read
Functions should have same level of abstraction

Functions should have same level of abstraction

7
Comments
2 min read
Malas prácticas en Angular: Avanzado

Malas prácticas en Angular: Avanzado

3
Comments
7 min read
Malas prácticas en Angular

Malas prácticas en Angular

10
Comments
12 min read
Quelques références sur le couplage dans le code

Quelques références sur le couplage dans le code

3
Comments 1
3 min read
Comments Suck and You Probably Write Too Many

Comments Suck and You Probably Write Too Many

5
Comments 12
3 min read
The Nuances of Constants in Go; Go Isn’t JavaScript

The Nuances of Constants in Go; Go Isn’t JavaScript

8
Comments
4 min read
Exception Handling in C#

Exception Handling in C#

2
Comments 1
3 min read
How to make your tests more readable and maintainable

How to make your tests more readable and maintainable

5
Comments
9 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
Why can't we define "readable code"?

Why can't we define "readable code"?

3
Comments
2 min read
Boilerplating a New Go Program (Microservice)

Boilerplating a New Go Program (Microservice)

10
Comments
6 min read
Go’s Major Versioning Sucks – From a Fanboy

Go’s Major Versioning Sucks – From a Fanboy

6
Comments
5 min read
loading...