Do you (not) refactor?

    There are no books among the volumes of the scripture of the Perfect Code more mysterious than those devoted to refactoring. And there are no two people who would understand this idea the same way, much less apply it. What conclusion have you made about the importance of refactoring?

    Only registered users can participate in the survey. Please come in.

    Are you refactoring?

    • 19.9% From project to project - it is not clear how it will be with the timing and status of the code 209
    • 33.2% I just change the code so that it does not contain bugs and frank jambs - is it refactoring? 348
    • 2.1% I do not do it - in our team no one complains about my code 22
    • 16.5% Engaged in - shoveling architecture until it becomes perfect 173
    • 5.9% Engaged - I love correcting indents, changing variable names, but I don’t touch architecture 62
    • 11% Reactor everything I can reach for, and my hands are long 116
    • 11.1% Perfect code is my life position 117

    Why are you refactoring?

    • 57.2% Imperfect code offends my sense of beauty 467
    • 5.3% I have an hourly wage, and even if there is no need for refororing, it will not be worse for anyone 44
    • 56.3% With the help of refactoring, I try to anticipate possible changes in the functional in the near future and thus make the change in architecture less painful 460
    • 1.7% I need to create an imitation of activities at work, although I myself consider refactoring necessary 14
    • 5.3% I am a freelancer, but sometimes it seems to me that I am a goldsmith, cleaning up the code for those who did everything cheaply, quickly and efficiently to me 44
    • 5% We are now massively introducing TDD and therefore rewrite the code so that it is better tested (tested in general) 41
    • 29.6% I like the refactoring process itself - it’s how to take a school notebook and carefully print “September 7th” ... It’s calming - you can’t but be in time, you can do programming for your own pleasure. 242
    • 14.5% I like refactoring in my IDE - changing the code turns into a game 119
    • 1.3% In our office everyone refactors and considers this the norm, I find it difficult to say what is the use of it 11
    • 30.2% I am a marshmallow cat, in winter I will grow chocolate icing, and in summer I can completely melt 247
    • 3.9% The importance of refactoring is overestimated, but since I want to have a normal job and not conflict with the adherents of the Church of the Perfect Code, I see no reason not to do it 32
    • 2.2% I am a team leader and I understand that refactoring will not be of any use, but I am engaged in it to maintain my authority as a cool programmer among superiors and subordinates 18
    • 65.3% Permanent refactoring is carried out in order to eliminate those crutches that most projects inevitably overgrow. 533
    • 24.8% The incorrectly named one makes me feel irrational to rename it at any cost, although I understand that the program will not get better from this 203

    How is refactoring organized?

    • 45.2% Reactor on mood - I have a lot of free time from tasks 346
    • 11.3% I am refactoring my code after each code review 87
    • 14.1% Once every few weeks (months), time for refactoring is purposefully allocated 108
    • 6.4% We have a checker (team lead) that rummages around the code and creates tickets for refactoring if he doesn’t like something 49
    • 19.8% We do not refactor - just write code 152
    • 2.8% Refactoring takes place when new functionality is added. 22

    Also popular now: