News for hackers. Stuff that matters.
Re:Automated Refactoring of a U.S. Department of Defense Mai... by stcredzero on Tuesday May 07, 2019 @02:24PM (#19852078)
Control flow feels like one of the more trivial parts of automated refactoring, because that's straightforward AST modifications?

No. The AST part is wrong. Compilers do decompose code into basic blocks. Even the most spaghettified code decomposes into basic blocks. Any language with tail call optimization can handle the basic blocks rewritten as functions.

That won't get you to "clean" however.

There are no comments on this comment yet.