📜 ⬆️ ⬇️

Obsession with beautiful code, refactoring syndrome

Recently, an obsession with refactoring has spread. It comes to the fact that some programmers put him a higher priority than the more important things, such as:

If this goes to extremes, and all the programmer cares about is the beauty of the code, it can fall under refactoring syndrome.

This syndrome has the following symptoms:

And usually the consequences are:

The main question to the refactoring syndrome is that it is based on the beauty of the code, and it has three big problems:

This refactoring syndrome seems to be related to the latest popular trends, when programmers confuse tools and technical principles like TDD, refactoring, unit tests ... with what really needs to be done. This is comparable to a builder who believes that having new tools is more important than the house he is building.

It is important to understand that none of the tools or principles of development is not bad in essence. Only the fact that we abuse them brings us closer to the refactoring syndrome.

As a result, it is important to remember that:

')

Source: https://habr.com/ru/post/116346/


All Articles