TUTORIAL: Refactoring without a net by Gil Zilberfeld @ TestinGil
Code sucks. Well, not all code. If your code is clean, it doesn't. But for that to happen, you need to refactor all the time. But here's the catch: Refactoring without tests is risky. Without that safety net, you're not going to try. So, it's off to writing tests we go.
Unless, of course, there are other ways. Do you have some, Gil?
While there is no real replacement for tests, we can take shortcuts.
In this session, I will discuss refactoring, including examples of how to do it when you don't have tests but still don't want to bring the house down.
I'm going to talk about how to tackle different scenarios, understand the risks, and how refactor code that doesn't have actual tests. I will also show refactoring patterns using the lovely ApprovalTests open-source tool.
Refactoring may be risky, but it's not a yes/no option. You can still improve the code and make changes easier with these tips.
The 5th annual Python Web Conf (#PWC2023) inspired attendees to use technology for good. The conference attracted 315 attendees from over 30 countries across 15 time zones. The highly engaging format featured 70 speakers, 5 tracks (including 64 talks and 5 tutorials) and took place virtually on March 13-17, 2023 on LoudSwarm by Six Feet Up.
More information about the conference can be found at: https://2023.pythonwebconf.com
Смотрите видео TUTORIAL: Refactoring without a net онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Six Feet Up 14 Июль 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 44 раз и оно понравилось людям.