Five Lines of Code: How and when to refactor
English
By (author): Christian Clausen
Improving existing coderefactoringis one of the most common tasks youll face as a programmer. Five Lines of Code teaches you clear and actionable refactoring rules that you can apply without relying on intuitive judgements such as code smells. Its written for working developers, guiding you step by step through applying refactoring patterns to the codebase of a 2D puzzle game. Following the authors expert perspectivethat refactoring and code smells can be learned by following a concrete set of principlesyoull learn when to refactor your code, what patterns to apply to what problem, and the code characteristics that indicate its time for a rework. Thanks to this hands-on guide, youll find yourself programming faster while still delivering high-quality code that your teammates will love to work with. about the technologyRefactoring is a fact of life. All code is imperfect, and refactoring is a systematic process you can use to improve the quality of your codebase. Whatever your architecture, choice of OO language, or skill as a programmer, the continuous design improvements of refactoring make your code simpler, more readable, and less prone to bugs. Youll be amazed at the productivity boost of adding refactoring to your code hygiene routineits quicker to hammer out bad code and then improve it than spending hours writing good code in the first place! about the book Five Lines of Code teaches working developers the shortcuts to quality code. Youll follow author Christian Clausens unique approach to teaching refactoring thats focused on concrete rules, and getting any method down to five lines or less to implement! Theres no jargon or tricky automated-testing skills required, just easy guidelines and patterns illustrated by detailed code samples. Chapter by chapter youll put techniques into action by refactoring a complete 2D puzzle game. Before you know it, youll be making serious and tangible improvements to your codebase. what''s inside
- The symptoms of bad code
- The extracting method, introducing strategy pattern, and many other refactoring patterns
- Modifying code safely, even when you dont understand it
- Writing stable code that enables change-by-addition
- Proper compiler practices
- Writing code that needs no comments
- Real-world practices for great refactoring
Current price
€42.08
Original price
€49.50
Delivery/Collection within 10-20 working days