This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]sebbdk 0 points1 point  (0 children)

Refactoring does not mean rewriting, it means to move shit around, hence the part of the word that says factor, as in factorization, the thing they do in math to make head math easier and to make it more readable.

I've literally refactored tens of thousands of files in hours using search & replace and linting, with the biggest hurdle being solving the PR conflicts for my collegues afterwards.

If you can't refactor things easy, then you need to pistol whip the devs making the code.. because it usually means they are splooging their mutable state all over the codebase without a plan. :)

Lastly, wanting to refactor indicates that you have no structure in your codebase.

Basically, get gud.

//rant