Skip to content
‹ All games
Chapter
--/4
Score
00
Lives
3 lives left

Clean Code Rescue

Skip's code works, barely. Spot what makes it hard to read, then ship the tidy version that still does exactly the same thing.

Sponsored · doesn't affect scores

Advertise here (opens in a new tab)

Your logo here, on this game and 2 more you pick · $350/mo for 3 games · Book a cell on skillxtube.com (opens in a new tab)

Enjoying Clean Code Rescue?

Ideas or bugs? →
Game guideClean Code Rescue: full rules, strategy tips and FAQ

Quick tips

  • The code already works. This isn't bug hunting. You're looking for what slows a reader down, not for a crash.
  • Names carry meaning. count and unitPrice beat a and b. A name like data, thing or NUMBER is still vague.
  • Name the reason, not the value. MIN_PASSWORD_LENGTH explains 12; TWELVE doesn't.
  • Copy conditions exactly. When you move or flip a condition, check every > and >=, and every !.
  • Guard order matters. With early returns, the first check that matches wins, so keep the special cases first.