Judging by latest efforts from Facebook (their codemod
tool) and by knowing how corporations always want to save money, I’d say that the software tech giants at least are trying really hard to commoditize code refactoring – and maybe even generating fully functioning projects.
I also wrote about this in several other threads: it’s high time we have tools that can do trivial code editing for us, like “move this function from module A to module B and make sure all previous callers are now calling the new module and function” or “delete this arm of this nested if-else-else-else condition and make sure tests pass”… The possibilities are limitless, the gains and savings – enormous.