Legacy Refactoring, by Lorraine Steyn
Автор: JetBrains
Загружено: 2021-05-14
Просмотров: 1792
This will be a talk on strategies we have employed to "rescue" legacy code, and how you prevent your system from becoming the Big Ball of Mud. It's not code specific, but it is aimed at developers.
There is an almost inevitable slide into complexity that happens to most code bases. As legacy code is more ubiquitous than green fields development, I believe that we spend too little time figuring out how to get better at maintaining existing systems.
Of course, tools like refactor make the code changes much easier, but this is mostly a talk about a mindset of keeping code clean. It is also an appeal to developers to spend more time on design - more thinking and less typing.
I co-founded my software company 34 years ago, so we have plenty of legacy code! I will share some techniques that have worked well for my teams, in our ongoing effort to stop the slide into the mud!
0:00 - Introduction
1:26 - What is Legacy
4:19 - Refactor or Rewrite
6:01 - Value of Legacy
6:34 - Pyramid of Code, People & Skills, Tools & Infrastructure
7:10 - No. 1: Tools & Infrastructure
9:02 - Code that was never good and its history
11:31 - Authority of Change
13:40 - No. 2: People & Skills
14:00 - People need help
15:38 - Techniques
16:51 - Techniques: Testing
18:30 - Techniques: Pair Programming
20:58 - Change of Habits
23:08 - No. 3: Code
23:14 - Boy Scout's Rule
26:46 - The Legacy Code Dilemma
28:56 - Law of Demeter: Low Coupling
30:27 - Law of Demeter: High Cohesion
31:54 - Domain-Driven Design
33:27 - Layering
35:38 - Boundaries
37:58 - Summary: Code
41:11 - Metrics in Legacy Code
43:14 - Motivation
44:10 - Q&A
Speaker: Lorraine Steyn, Simplifier-in-chief, KRS
Lorraine founded the software development company Khanyisa Real Systems (KRS) in 1987. The company now employs around 60 technical staff, and has delivered large bespoke projects for hundreds of clients. Lorraine is a hands-on CEO who spends 3-4 days a week working on production code with her teams, mentoring, assisting with design, and driving quality and learning.
Lorraine has presented on such varied topics as Domain-Driven-Design, compassionate leadership, clean code and refactoring, women in tech, and many Agile topics dear to her heart (often based in XP practices).
Twitter: / lor_krs
Blog: https://beingrealblog.wordpress.com/
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: