SQM 12/24: Dead Code [software quality crash course] [eng sub]

Опубликовано: 18 Февраль 2026
на канале: Yegor Bugayenko
2,049
60

A lecture for BSc students in HSE University.

The slides are here: https://github.com/yegor256/sqm (in LaTeX and PDF)

Blog: https://www.yegor256.com
Books: https://www.yegor256.com/books.html
GitHub: https://github.com/yegor256 (don’t hesitate to follow in order to stay informed)
Telegram channel with recent news and updates: https://t.me/yegor256news (subscribe to not miss a thing)
Twitter with daily and weekly updates:   / yegor256   (follow me!)
iTunes: https://podcasts.apple.com/us/podcast...
SoundCloud:   / yegor256  
Yandex Music podcast by yegor256: https://music.yandex.ru/album/31142286

0:00 Введение
2:33 Motivation example.
6:24 Bad smells
11:30 Dead Code Elimination (Compiler Optimization)
17:43 A multi-study investigation into dead code
25:33 How Much Does Unused Code Matter For Maintenance?
32:36 Volatility Metric
42:15 Monolithic Repositories
45:27 1) Centralization
45:58 2) Visibility
46:28 3) Synchronization
52:03 4) Completeness
54:32 5) Standardization
57:42 Advantages And Disadvantages of a Monolithic
59:48 Why Google stores billions of lines of code in a single repository
1:03:04 Scaling Mercurial at Facebook
01:08:34 How Monolithic Repository in open source saved my laziness
01:10:09 Собственное мнение
01:10:23 Benefits of "Manyrepo" Approach
01:10:31 1) Encapsulation
01:11:37 2.) Fast Builds
01:13:14 3) Accurate Metrics
01:14:42 4) Homogeneous Tasks
01:17:29 5) Single Coding Standard
01:18:17 6) Short Names
01:19:51 7) Simple Tests