Hacker News new | ask | show | jobs
by gnaritas 5231 days 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.
1 comments

You don't review automated refactorings?
Actually 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

You certainly can; however, you'll stop after a while when you realize it actually works.