DEV Community

# cleancode

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Demeter’s Law: Don’t talk to strangers!

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

75
Comments 10
4 min read
Writing better test assertions

Writing better test assertions

16
Comments 1
8 min read
Dependency injection: PHP edition

Dependency injection: PHP edition

65
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
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
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

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

Lambda Expressions in C++

27
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
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
MediatR behaviors to validate API Resource existence

MediatR behaviors to validate API Resource existence

9
Comments
1 min read
🚥 How to Automate Code Quality Checks in your Workflow? ⚙

🚥 How to Automate Code Quality Checks in your Workflow? ⚙

75
Comments 1
8 min read
Livable code, embrace the practical mess

Livable code, embrace the practical mess

149
Comments 22
9 min read
How to handle projects with bad code quality?

How to handle projects with bad code quality?

12
Comments
3 min read
🚥 How to Write Clean Code in PHP 🐘

🚥 How to Write Clean Code in PHP 🐘

276
Comments 5
9 min read
Make testable components using the Humble Object pattern

Make testable components using the Humble Object pattern

21
Comments 2
9 min read
Base Libraries Should be Stable

Base Libraries Should be Stable

14
Comments 1
3 min read
Clean code gamified

Clean code gamified

17
Comments 6
1 min read
Do you schedule time and tasks for refactors?

Do you schedule time and tasks for refactors?

43
Comments 15
2 min read
On typical naming anti-pattern in Java

On typical naming anti-pattern in Java

6
Comments 2
1 min read
Books you must read as a Developer

Books you must read as a Developer

13
Comments
5 min read
Improve your developer skills with Code Katas

Improve your developer skills with Code Katas

18
Comments
4 min read
Why to use the 'override' specifier in C++ 11?

Why to use the 'override' specifier in C++ 11?

35
Comments 2
2 min read
Lay Out Your Code Like You'd Lay Out Your House

Lay Out Your Code Like You'd Lay Out Your House

128
Comments 19
6 min read
Clean Code, even under pressure

Clean Code, even under pressure

8
Comments
3 min read
Do you use syntax checking tools?

Do you use syntax checking tools?

20
Comments 6
1 min read
A simple tip for cleaner code

A simple tip for cleaner code

53
Comments 38
1 min read
How Simple is too Simple to Test?

How Simple is too Simple to Test?

103
Comments 22
4 min read
On wrappers for standard library

On wrappers for standard library

5
Comments
2 min read
Clean Code, bullshit or common sense?

Clean Code, bullshit or common sense?

55
Comments 11
5 min read
Position the Cue Ball

Position the Cue Ball

11
Comments
7 min read
Tame Your Giant, Beastly Dependency Injection Registration Class and Ride It Into Glorious Victory

Tame Your Giant, Beastly Dependency Injection Registration Class and Ride It Into Glorious Victory

12
Comments
7 min read
10 Ways to Become a Better Developer

10 Ways to Become a Better Developer

105
Comments 2
7 min read
Is Coding an Art?

Is Coding an Art?

31
Comments 25
1 min read
Watch your Coding Manners

Watch your Coding Manners

42
Comments 4
4 min read
TDD is an ethical matter

TDD is an ethical matter

22
Comments 3
4 min read
What should a developer really catch?

What should a developer really catch?

19
Comments 2
6 min read
short-circuits && clean code

short-circuits && clean code

15
Comments 8
1 min read
“One does not simply update a database” – migration based database development

“One does not simply update a database” – migration based database development

33
Comments 3
10 min read
A little rant on naming things

A little rant on naming things

6
Comments
1 min read
Don't be a Bracist

Don't be a Bracist

49
Comments 14
3 min read
Simple and Clean Code vs. Performance

Simple and Clean Code vs. Performance

44
Comments 5
5 min read
Code Like a Conversation: Basic Levels of Abstraction

Code Like a Conversation: Basic Levels of Abstraction

24
Comments 5
3 min read
Yield in PHPUnit data providers

Yield in PHPUnit data providers

14
Comments
2 min read
Unit Test Naming Convention

Unit Test Naming Convention

3
Comments
1 min read
There is no clean (database) development without Version Control

There is no clean (database) development without Version Control

14
Comments 1
10 min read
The Fallacy of DRY

The Fallacy of DRY

35
Comments 10
6 min read
Modularization and dependency management: three steps to better code

Modularization and dependency management: three steps to better code

54
Comments 1
9 min read
Did you ever try to write Java equals() with clean code style?

Did you ever try to write Java equals() with clean code style?

25
Comments 20
1 min read
Refactoring Basics

Refactoring Basics

31
Comments 4
4 min read
Write comments only when they answer the “Why?”

Write comments only when they answer the “Why?”

5
Comments
2 min read
Refactoring is not so scary

Refactoring is not so scary

79
Comments 18
4 min read
Advantages(!) of Dirty Code

Advantages(!) of Dirty Code

52
Comments 29
4 min read
Steps to better code

Steps to better code

204
Comments 18
14 min read
loading...