Hacker News new | ask | show | jobs
by primitur 5471 days ago
refactor in vim:

    :g/\<sv\>/s//some_nicer_name/g
1 comments

That's not refactoring. That's a specific refactoring known as rename.

Rename is handy, and might even be the most often applied refactoring, but it's also the easiest to craft. Move Method, Pull Up, et al are useful and not as easy to craft.

Then there is the Move class refactoring, which, if integrated well with your source control system, is an almost magical time saver.