Five Lines of Code: How and when to refactor
- Length: 275 pages
- Edition: 1
- Language: English
- Publisher: Manning
- Publication Date: 2021-11-09
- ISBN-10: 161729831X
- ISBN-13: 9781617298318
- Sales Rank: #24819608 (See Top 100 Books)
Five Lines of Code teaches refactoring that’s focused on concrete rules and getting any method down to five lines or less! There’s no jargon or tricky automated-testing skills required, just easy guidelines and patterns illustrated by detailed code samples.
Improving existing code—refactoring—is one of the most common tasks you’ll face as a programmer. Written for working developers, Five Lines of Code teaches you clear and actionable refactoring rules that you can apply without relying on intuitive judgements. Thanks to this hands-on guide, you’ll find yourself programming faster while still delivering high-quality code that your teammates will love to work with.
Five Lines of Code teaches refactoring that’s focused on concrete rules and getting any method down to five lines or less! There’s no jargon or tricky automated-testing skills required, just easy guidelines and patterns illustrated by detailed code samples. Chapter by chapter you’ll put techniques into action by refactoring a complete 2D puzzle game. Before you know it, you’ll be making serious and tangible improvements to your codebase.