Race Updates Discord About Merch
Home Profile History Competitions Texts Messages Friends Upgrade

typeracer

Pit Stop

Record your races with a typeracer account:

Create Your Account
  • Save your race history and scores.
  • Customize your profile and racecar.
  • It’s free, why not?
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.
Clean Code (book) by Robert Cecil Martin
Language: English
Submitted by: concurrent
This text has been typed 622 times:
Avg. speed: 100 WPM
Avg. accuracy: 97.2%

Top 10 scores for this text

User Speed Accuracy Points Place Date Options
1 joshua728 203 WPM 99.0% 450 1/2 June 23, 2022
2 flaneur 182 WPM 99.0% 403 1/2 Dec. 11, 2022
3 helloimnotgood1 180 WPM 99.0% 400 1/2 March 6, 2024
4 arc_sec 171 WPM 99.0% 378 1/1 Nov. 6, 2020
5 atthetop 165 WPM 98.0% 365 1/2 Nov. 24, 2020
6 keegant 162 WPM 98.0% 360 1/2 May 26, 2022
7 qray 160 WPM 98.0% 356 1/4 Nov. 25, 2020
8 despot 159 WPM 99.0% 354 1/2 Oct. 11, 2020
9 primalknight 157 WPM 98.0% 349 2/2 Oct. 5, 2023
10 landarian 157 WPM 99.0% 348 1/4 Oct. 28, 2020