DEV Community

loading...

# cleancode

👋 Sign in for the ability sort posts by top and latest.
Code Smell 59 - Basic / Do Functions

Code Smell 59 - Basic / Do Functions

Reactions 5
1 min read
The Pros and Cons of DRY Code

The Pros and Cons of DRY Code

Reactions 6
6 min read
Programming Advice From 1976

Programming Advice From 1976

Reactions 2
3 min read
SOLID Principles in Swift: Open/Closed Principle

SOLID Principles in Swift: Open/Closed Principle

Reactions 4
4 min read
Things you need to know as a developer - Clean Coding: Part 1

Things you need to know as a developer - Clean Coding: Part 1

Reactions 6
7 min read
Revisiting the L in SOLID

Revisiting the L in SOLID

Reactions 9 Comments 2
2 min read
Real life angular inheritance example

Real life angular inheritance example

Reactions 5
5 min read
ISP - The Interface Segregation Principle

ISP - The Interface Segregation Principle

Reactions 1
3 min read
LSP - The Liskov Substitution Principle

LSP - The Liskov Substitution Principle

Reactions 1
3 min read
C# code refactoring - Introduction

C# code refactoring - Introduction

Reactions 6
5 min read
Code Comments Are Stupid

Code Comments Are Stupid

Reactions 8 Comments 6
6 min read
SLAP: Single Level of Abstraction Principle

SLAP: Single Level of Abstraction Principle

Reactions 5
1 min read
DIP - The Dependency Inversion Principle

DIP - The Dependency Inversion Principle

Reactions 5
3 min read
DRY - Don’t repeat yourself

DRY - Don’t repeat yourself

Reactions 8
3 min read
Revisiting the O in SOLID

Revisiting the O in SOLID

Reactions 3
2 min read
Understanding Design Patterns: Factory-Method

Understanding Design Patterns: Factory-Method

Reactions 78
11 min read
Why you shouldn't mix levels of abstraction in your functions

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

Reactions 17
2 min read
Presenting Exceptions to Users

Presenting Exceptions to Users

Reactions 5
8 min read
OCP - The Open-Closed Principle

OCP - The Open-Closed Principle

Reactions 6
3 min read
Clean up your code by removing unneeded indentation 🧹

Clean up your code by removing unneeded indentation 🧹

Reactions 19 Comments 3
2 min read
JS Clean Code tip: Don't use tuples for returned objects

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

Reactions 6
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
Exceptions and Streams

Exceptions and Streams

Reactions 9 Comments 1
5 min read
Why using DateTime.Now directly is a bad idea

Why using DateTime.Now directly is a bad idea

Reactions 10
5 min read
My take on clean code

My take on clean code

Reactions 28 Comments 2
4 min read
A Subtle Art Of Writing Good Code Comments

A Subtle Art Of Writing Good Code Comments

Reactions 9
6 min read
Write clean & good code - correct caching in PHP

Write clean & good code - correct caching in PHP

Reactions 5 Comments 1
1 min read
Hide Checked Exceptions with SneakyThrows

Hide Checked Exceptions with SneakyThrows

Reactions 11 Comments 2
4 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

Reactions 3
1 min read
What clean means and why you should care

What clean means and why you should care

Reactions 28 Comments 5
2 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

Reactions 5
2 min read
A Deeper Dive into Function Arity (With a Focus on Javascript)

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

Reactions 7
10 min read
Organizing your code: 3 ways to create namespaces in Python

Organizing your code: 3 ways to create namespaces in Python

Reactions 6
5 min read
Understanding Design Patterns: Builder

Understanding Design Patterns: Builder

Reactions 106
13 min read
Why write unit tests?

Why write unit tests?

Reactions 4
3 min read
Simple State Machines In Java

Simple State Machines In Java

Reactions 7
3 min read
How to Comment Your Code Like a Boss

How to Comment Your Code Like a Boss

Reactions 6 Comments 1
2 min read
Never rely on Strings for conditionals

Never rely on Strings for conditionals

Reactions 5
3 min read
Writing Good Unit Tests; Don’t Mock Database Connections

Writing Good Unit Tests; Don’t Mock Database Connections

Reactions 9 Comments 1
6 min read
Writing a good variable name

Writing a good variable name

Reactions 5
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

Reactions 4
2 min read
Code Smell 45 - Not Polymorphic

Code Smell 45 - Not Polymorphic

Reactions 2
1 min read
What is technical debt?

What is technical debt?

Reactions 10 Comments 3
1 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

Reactions 6
2 min read
React components doing too much (and how to simplify them)

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

Reactions 5
4 min read
Don't make setters of properties in your class public!

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

Reactions 11 Comments 2
4 min read
Comments Suck and You Probably Write Too Many

Comments Suck and You Probably Write Too Many

Reactions 5 Comments 5
3 min read
Clean code exercises - part 1

Clean code exercises - part 1

Reactions 56 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

Reactions 6
3 min read
Clean code (TH.)

Clean code (TH.)

Reactions 55 Comments 2
2 min read
Function should have same level of abstraction

Function should have same level of abstraction

Reactions 7
2 min read
Malas prácticas en Angular

Malas prácticas en Angular

Reactions 6
12 min read
Quelques références sur le couplage dans le code

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

Reactions 3
3 min read
The Nuances of Constants in Go; Go Isn’t JavaScript

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

Reactions 8
4 min read
Exception Handling in C#

Exception Handling in C#

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

Boilerplating a New Go Program (Microservice)

Reactions 10
6 min read
How to make your tests more readable and maintainable

How to make your tests more readable and maintainable

Reactions 5
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!

Reactions 165 Comments 8
6 min read
Slow Is Smooth, Smooth Is Fast – 25% of Our Time Refactoring

Slow Is Smooth, Smooth Is Fast – 25% of Our Time Refactoring

Reactions 4
3 min read
loading...