Text Details
Dead code is code that isn't executed. You find it in the body of an if statement that checks for a condition that can't happen. You find it in the catch block of a try that never throws. You find it in little utility methods that are never called or switch/case conditions that never occur. The problem with dead code is that after awhile it starts to smell. The older it is, the stronger and sourer the odor becomes. This is because dead code is not completely updated when designs change. It still compiles, but it does not follow newer conventions or rules. It was written at a time when the system was different. When you find dead code, do the right thing. Give it a decent burial. Delete it from the system.
— (book)
by Robert Cecil Martin
|
Language: | English |
Submitted by: | concurrent |
This text has been typed
631 times:
Avg. speed: | 101 WPM |
---|---|
Avg. accuracy: | 97.2% |
Top 10 scores for this text
User | Speed | Accuracy | Points | Place | Date | Options | |
---|---|---|---|---|---|---|---|
1 | joshua728 | 203 WPM | 99% | 450 | 1/2 | Jun 23, 2022 |
![]() ![]() |
2 | flaneur | 182 WPM | 99% | 403 | 1/2 | Dec 11, 2022 |
![]() ![]() |
3 | helloimnotgood1 | 180 WPM | 99% | 400 | 1/2 | Mar 6, 2024 |
![]() ![]() |
4 | g1_petroleum | 177 WPM | 100% | 393 | 1/2 | Jan 17, 2025 |
![]() ![]() |
5 | arc_sec | 171 WPM | 99% | 378 | 1/1 | Nov 6, 2020 |
![]() ![]() |
6 | atthetop | 165 WPM | 98% | 365 | 1/2 | Nov 24, 2020 |
![]() ![]() |
7 | keegant | 162 WPM | 98% | 360 | 1/2 | May 26, 2022 |
![]() ![]() |
8 | qray | 160 WPM | 98% | 356 | 1/4 | Nov 25, 2020 |
![]() ![]() |
9 | despot | 159 WPM | 99% | 354 | 1/2 | Oct 11, 2020 |
![]() ![]() |
10 | primalknight | 157 WPM | 98% | 349 | 2/2 | Oct 5, 2023 |
![]() ![]() |