Forem

# cleancode

Principios e praticas para escrever codigo limpo e sustentavel.

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Immediately invoked lambda functions

Immediately invoked lambda functions

10
Comments
4 min read
Dependency Injection | Writing loosely coupled code

Dependency Injection | Writing loosely coupled code

7
Comments
2 min read
About mothers, builders, and how to reduce duplication in your tests
Cover image for About mothers, builders, and how to reduce duplication in your tests

About mothers, builders, and how to reduce duplication in your tests

16
Comments
6 min read
Keeping your code clean by sweeping out "if" statements

Keeping your code clean by sweeping out "if" statements

761
Comments 121
3 min read
Your Code as a Crime Scene and Software Design X-Rays by Adam Tornhill

Your Code as a Crime Scene and Software Design X-Rays by Adam Tornhill

10
Comments
2 min read
Clean Code Applied to JavaScript — Part VI. Avoid Conditional Complexity
Cover image for 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
Washing your code: avoid reassigning variables

Washing your code: avoid reassigning variables

9
Comments 1
9 min read
Attacking Technical Debt
Cover image for Attacking Technical Debt

Attacking Technical Debt

13
Comments 1
4 min read
What's wrong with Scikit-Learn.

What's wrong with Scikit-Learn.

5
Comments
6 min read
An IoC pattern to avoid repetitive if statements

An IoC pattern to avoid repetitive if statements

49
Comments 21
6 min read
Rails: Policy Objects Implementation

Rails: Policy Objects Implementation

13
Comments
3 min read
Understanding Design Patterns: Null Object
Cover image for Understanding Design Patterns: Null Object

Understanding Design Patterns: Null Object

195
Comments 2
7 min read
DRY or not DRY?

DRY or not DRY?

5
Comments
1 min read
Rails: Background Job Done Right (Case 1)

Rails: Background Job Done Right (Case 1)

16
Comments
8 min read
Rails: Facade Design Pattern for Index

Rails: Facade Design Pattern for Index

18
Comments
5 min read
Favorite Refactoring Techniques: Split Phase

Favorite Refactoring Techniques: Split Phase

8
Comments
1 min read
Rails: skinny controller, skinny model

Rails: skinny controller, skinny model

30
Comments
6 min read
Rails: Query Object Pattern Implementation

Rails: Query Object Pattern Implementation

18
Comments 1
4 min read
Clean Code Applied to JavaScript — Part V. Exceptions
Cover image for 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
Cover image for 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
Cover image for Say Farewell to Forgotten Cleanups

Say Farewell to Forgotten Cleanups

7
Comments
6 min read
Clean Code Applied to JavaScript — Part III. Functions
Cover image for 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
Cover image for 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
loading...