3 ms·
Global search and replace casts a wide net, makes tons of mistakes, requires you to inspect every change to ensure it was correct; automated refactorings don't
by gnaritas 15y ago
Global search and replace casts a wide net, makes tons of mistakes, requires you to inspect every change to ensure it was correct; automated refactorings don't make any mistakes no matter the size of the code base. These two things are vastly different.
- philwelch 15y agoYou don't review automated refactorings?
- phpnode 15y agoActually in jetbrains IDEs you preview your automated refactoring, before it happens. It will show you which files will be affected and how, and then you can choose whether to exclude specific instances or not. Code review happens anyway, automated refactor or not
- gnaritas 15y agoYou certainly can; however, you'll stop after a while when you realize it actually works.