Talk in English - US at SunshinePHP 2020
View Slides: https://speakerdeck.com/maccath/legacy-code-testing-and-safe-refactoring-abaf3ee6-56a2-4bc9-a855-8d1aaeb65f1e
Short URL: https://joind.in/talk/7243c (QR-Code (opens in new window))
The paradox: I can't test this code because it's legacy. I need to refractor the code to make it testable. How can I manage that, without breaking existing functionality? I'll need to write some tests, but... argh! We've all been there! In this talk we'll look at safe ways to refactor and test 'untestable' code - without breaking any existing functionality. Promise!
Comments are closed.
Fun presentation on a serious, complex technical topic. Useful approaches for maintaining legacy codebase. Katy was focused, concise, organized, and fun! Slides were good: good color balance, playful use of GIFs and cultural references, and code examples were easy to view.
This is an introductory-to-mid-level talk, but the content is good. PHPUnit, supporting libraries like Mockery and vfsStream, concepts like mocks and dependency injection, handling cases like direct output vs. returning values and functions with side effects like exit(), etc. Try to speak more loudly and a bit more slowly, though!
I had no problem with your speaking style and found the examples quite humorous (regardless of your political persuasion). I think humor in complex topics makes them easier to understand. I thought the examples were excellent, easy to follow.
A bit slow at first, but I actually got quite a number of good ideas from this talk, and the humorous examples were brilliant.