Skip to content

Practical refactoring in C#

Photo of Jason Erdahl
Hosted By
Jason E. and 2 others
Practical refactoring in C#

Details

Doors open at 5:00, speaker at 5:30.
We'll be giving away licenses from our partners at JetBrains and OzCode!

*** Please note the change in location to General Mills Headquarters!
*** RSVP ahead so we can get your name on the guest list for security. Unregistered and late arrivals still welcome; please email Elsa [joynoele @ yahoo.com] for assistance

  • Park in the Employee parking lot
  • Check in at the guard security desk with a photo ID to receive a visitor's badge
  • Room CRM2-14: Continue down the main hallway, go UP the escalators, and continue straight past the wall of GMI history, room is on your right nearby the visitor's entrance and 2nd set of escalators.

Practical Refactoring in C# by Patrick Szalapski

What a horrible mess this class is! Look at this--it has hard-wired static function calls, it’s newing up and hanging on to some IDisposables indefinitely, and it is just way too big. I dunno, maybe it needs a ServiceLocator? Whatever, I’m not messing with this. I’ll just new up another dependency and make it work for this new feature it needs. But boy, does this smell icky…

I’ll show you the way to incrementally fix up your code so that when you take it off the blocks, all will work well, quality goes up, and much goodness results.

Patrick Szalapski makes software and helps others make software at a Fortune 500 company and a little on the side. When not refactoring code from twelve years ago, he enjoys the outdoors in Minnesota year round, loves deeper thinking and discussion, talking way too much about the Minnesota Twins, and most of all being a dad and husband.

Photo of Twin Cities .NET User Group group
Twin Cities .NET User Group
See more events