Commented out code and inconsistent indentation needs to be removed with impunity. Difficult to read whitespace needs to be addressed as well.
- [Instructor] It's very hard to read a book … or write an article when you're surrounded by noise … and distractions. … They make it hard to concentrate, think, and focus. … They slow you down. … You can still get the task done, … but it's much harder than it needs to be. … The same is true when you're working with code. … What's even worse, is when the code that you're working on, … is the very source of the noise and distraction … that you're fighting against. … There are several forms of noise and distraction … that you need to remove with impunity. … Don't ask for permission, either. … Just do it. … Remember, this is your project, … and you've made a commitment to take ownership of it. … Commented out code should just be deleted … as soon as you see it. … Finding it is a sign of either a past developer … who was in a hurry, … or a sign of someone who was afraid … that knowledge would get lost. … At this point, you have no way of knowing … which of these two scenarios created the commented out code. …
AuthorM. Scott Ford
- Assessing the technical debt
- Creating and running a test suite
- Handling failing tests
- Updating dependencies and tools
- Paying down technical debt
- Remaining test driven
- Monitoring code quality
Skill Level Intermediate
Agile Software Development: Code Qualitywith M. Scott Ford1h 40m Intermediate
Agile Software Development: Refactoringwith Richard Kasperowski1h 31m Intermediate
1. Getting Started: Review the Technical Debt
2. Fence in the Technical Debt
3. Improve Your Tools
4. Pay Down Technical Debt
5. Keep Technical Debt at Bay
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.