Refactoring to Patterns with ReSharper
summary
Argues against applying patterns too early and shows concrete refactorings using ReSharper to evolve a SoundEditor: pushes members down to create SoundEditor -> FileSystemSoundEditor, extracts a ISoundSink interface, turns a persist step into a template method, extracts a sink class, introduces a factory for lifetime control, and makes components IDisposable. Demonstration proves the pattern choice follows revealed requirements, reduces future changes to small, safer steps, and requires a short risky refactor period where tests and careful edits matter.
AI-written summary · about
chapters (5)
- 0:00Introduction
- 1:08Requirements and Patterns
- 13:00Demo implementing and refactoring SoundEditor
- 48:23Learn more about design patterns
- 48:49Questions and Answers








