Skip to content
0:00 / 0:00

#refactoring#cleancode#legacycode

Practical Refactoring - How to clean code in many small steps

Llewellyn Falco

1.8K subscribers • 1 video on Hallway

YouTube
  • Recommended by 2 people: 2 in engineering communities.
  • Presented by Llewellyn Falco

Intermediate. Assumes working knowledge.

92K views13 years ago2 recommendations

Software designTools and practiceRefactoring and legacy codeDesign patternsTesting

Llewellyn Falco demonstrates how to safely refactor legacy code in many small, incremental steps.

For more follow Woody Zuill twitter - twitter.com/woodyzuill Llewellyn Falco twitter - twitter.com/llewellynfalco blog - llewellynfalco.blogspot.com/ Also checking out our conferences: EuropeanTestingConference: europeantestingconference.eu/ Mob Programming Conference - mobprogrammingconference.com/

Why it's here

2 people recommend this

What people say. Recommended as an excellent video demonstration of putting refactoring advice into practice.

u/desmaraispin r/dotnet • Recommends

On “Refactoring a Monolithic .NET project as a Noob team ”

In my experience, those kinds of refactors work better when you do things in small pieces ( two minutes to better code ) Start with small changes. Lint your code. Remove unused deps. Delete code comments (yes, all of them). Remove unrefenced methods. Commit often. Very often. Once you've worked through the easy stuff, start extracting services from your controllers. A couple of notes here. - When you create those services, don't return your ef entities, that never ends well imo. Create some dtos. - Once again, small changes. Don't create your service, dto and update your controllers all at once, that's bound to overwhelm you. Start with declaring your models, the your interfaces, then…

u/camomilkin r/ExperiencedDevs • Recommends

On “Is Refactoring by Martin Fowler still worth a read? ”

I actually haven't read the book, but this comment about observing experienced devs put the advice into practice reminded me of an excellent video demonstration that I often recommend to others: [video