News for hackers. Stuff that matters.
Re:Announcing the Second Edition of “Refactoring” by hyperpape on Tuesday March 27, 2018 @08:20PM (#16694044)
I never read more than a fraction of the first edition, but I found it valuable. The key idea was that refactoring was a methodical, careful process that consists of steadily taking the code from one working state to another. At the time, refactoring was a dirty word at my company, and people didn’t distinguish it from rewriting code in any arbitrary fashion.
Re:Announcing the Second Edition of “Refactoring” by quietbritishjim on Wednesday March 28, 2018 @03:00PM (#16700703)
This sounds mostly like the first chapter, which was the bit I enjoyed the most. That was about automated testing, and a whole book about that might've been quite useful.
Re:Announcing the Second Edition of “Refactoring” by hyperpape on Thursday March 29, 2018 @01:07PM (#16708737)
Automated testing is great, but you can apply the core idea to code without automated tests. The difference is that you have to be even more mechanical and cautious.

In addition to the principles about refactoring, reading a few of the examples helped to drive in how methodical it was.