Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Twelve Ways to Make Code Suck Less

Devoxx via YouTube

Overview

Explore twelve effective strategies to enhance code quality in this insightful conference talk. Learn to identify and avoid common anti-patterns and code smells that lead to poor code. Discover the importance of high cohesion, loose coupling, and clear, self-documenting code. Understand how to manage technical debt, apply Zinsser's principle on writing, and implement tactical code reviews. Gain valuable insights on reducing state mutation, avoiding long methods, and choosing expressive variable names. Master these techniques to significantly improve your coding practices and create more maintainable, efficient software.

Syllabus

Intro
Why should we care about code quality?
What's Quality Code?
Schedule Time to Lower Technical Debt
What Causes Technical Debt?
Favor High Cohesion
Think about frequency of change
Favor Loose Coupling
Prefer Clear Code over Clever Code
Apply Zinsser's Principle on Writing
Write Expressive Self-Documenting Code
Avoid Long Methods-Apply SLAP
Perils of Long Methods
How long is long?
Turns out long is not about length of code, but levels of abstraction
Variable Names Represent Abstractions
Facilitating Tactical Code Reviews
Reduce State & State Mutation

Taught by

Devoxx

Reviews

Start your review of Twelve Ways to Make Code Suck Less

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.