#refactoring
Read more stories on Hashnode
Articles with this tag
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...
More than one class is a mess · TL;DR: Follow the separation of concerns principle and file organization Problems Code...