#clean-code
Read more stories on Hashnode
Articles with this tag
You count collections or collections.count? · TL;DR: Chose narrow names Problems Bad Naming Solutions Accurately describe your...
Don't Repeat Yourself. Don't Repeat Yourself TL;DR: You can find missing abstractions by looking at repeated code Problems DRY principle...
Converting your anemic dictionaries is easy · TL;DR: Convert your key/value into full behavioral objects Problems Addressed Associative arrays Fail...
Where are your sources of truth? · TL;DR: Say it only once Problems Don't Repeat Yourself principle violation Consistency...
Your code is dead and alive · TL;DR: Look carefully for race conditions Problems Principle of Least Surprise violation Race...
You overcomplicate your code · TL;DR: Avoid Accidental complexity and bureaucracy Problems Accidental Complexity Readability Bijection...