News for hackers. Stuff that matters.
Re:It is ridiculously easy to refactor Go by redbad on Monday January 28, 2013 @03:10AM (#5127650)
Are you aware of gofmt's rewrite rules?

http://golang.org/cmd/gofmt/#hdr-Examples

Pretty powerful stuff.

Re:It is ridiculously easy to refactor Go by pjmlp on Monday January 28, 2013 @04:55AM (#5127869)
I am. Refactoring is much more than that:

- create functions and methods from code snippets

- merge duplicate code

- Semantic renaming of method names/variables/functions without affecting the same name being used in a different context

- convert field direct access to wrapper functions/methods

- remove dead code

- add missing code to interface/module/class where it is being applied

- validation of code references in comments

- ...