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?
Racer John (windoid)
Race Number 24
Date Tue, 15 Dec 2020 03:04:17 +0000
Speed 109 WPM Try to beat?
Accuracy 97.3%
Rank 3rd place (out of 5)
Opponents gshark32 (5th place) kehlee (4th place) yoyoviewer (2nd place)

Text typed:

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 (see stats)

Typing Review: