£40.79

Manning Five Lines of Code: How and when to refactor

Price data last checked 29 day(s) ago - will refresh soon

View at Amazon

We'll watch every seller, every day. One email when your price arrives.

About as cheap as it gets. The only time it was cheaper was 1 month ago.

£41 today · all-time low £41 (Jul 2026) · usually £41

NEW HERE?

Amazon shows you one price. We show you all of them.

Tosheroon watches Amazon prices so you don't have to. Every product on Amazon has a price history — we make it visible. Set the price you'd actually pay, and we'll email you the second it gets there. No app, no account, one email.

WHAT'S ON THIS PAGE

↓ Price chart
when this has been cheap or pricey
↓ Forecast
where the price is heading next
↓ Statistics
all-time high & low, recent range
↑ Price alert
name your number, we'll email you

Price History & Forecast

Grey patches = out of stock. Cheaper = lower on the chart. Hover for exact prices.

Last 62 days · 62 data points (no recent data)

Historical
Generating forecast…
£43.00 £40.25 £40.85 £41.45 £42.05 £42.65 £43.25 07 June 2026 22 June 2026 07 July 2026 22 July 2026 07 August 2026

Price Distribution

Price distribution over 62 days • 2 price levels

Days at Price
Current Price
53 days · current 9 days 0 13 27 40 53 £41 £43 Days at Price

Price Analysis

Most common price: £41 (53 days, 85.5%)

Price range: £41 - £43

Price levels: 2 different prices over 62 days

Description

Improving existing code―refactoring―is one of the most common tasks you’ll 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.” It’s written for working developers, guiding you step by step through applying refactoring patterns to the codebase of a 2D puzzle game. Following the author’s expert perspective―that refactoring and code smells can be learned by following a concrete set of principles―you’ll learn when to refactor your code, what patterns to apply to what problem, and the code characteristics that indicate it’s time for a rework. 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. about the technology Refactoring 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. You’ll be amazed at the productivity boost of adding refactoring to your code hygiene routine―it’s 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. You’ll follow author Christian Clausen’s unique approach to teaching refactoring that’s focused on concrete rules, and getting any method down to five lines or less to implement! 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. 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 don’t 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 about the reader For developers who know an object-oriented programming language. about the author Christian Clausen works as a Technical Agile Coach teaching teams how to properly refactor their code. Previously he worked as a software engineer on the Coccinelle semantic patching project, an automated refactoring tool. He has an MSc in computer science, and five years’ experience teaching software quality at a university level.

Key Features

New Store Stock

Product Specifications

Brand
Manning
Format
paperback
Domain
Amazon UK
Release Date
13 December 2021
Listed Since
15 November 2020

Barcode

No barcode data available

Similar Products You Might Like

Looks Good To Me: Constructive Code Reviews
80% match

Looks Good To Me: Constructive Code Reviews

Manning

£37.60 08 Aug 2026
Refactoring at Scale: Regaining Control of Your Codebase
79% match

Refactoring at Scale: Regaining Control of Your Codebase

O'Reilly

£34.40 03 Jul 2026
Street Coder: The Rules to Break and How to Break Them
79% match

Street Coder: The Rules to Break and How to Break Them

Manning

£42.10 06 Aug 2026
Manning The Programmer's Brain - Cognitive Science Guide
78% match

Manning The Programmer's Brain - Cognitive Science Guide

Manning

£37.05 04 Sep 2026
Your Code as a Crime Scene, Second Edition: Use Forensic Techniques to Arrest Defects, Bottlenecks, and Bad Design in Your Programs (Pragmatic Programmers)
78% match

Your Code as a Crime Scene, Second Edition: Use Forensic Techniques to Arrest Defects, Bottlenecks, and Bad Design in Your Programs (Pragmatic Programmers)

Pragmatic Bookshelf

£33.48 10 Aug 2026
Effective Software Testing: A Developer's Guide
77% match

Effective Software Testing: A Developer's Guide

Manning

£37.94 06 Aug 2026
Object-Oriented Software Design in C++
77% match

Object-Oriented Software Design in C++

Manning

£35.03 05 Aug 2026
Grokking Simplicity: Taming Complex Software with Functional Thinking
77% match

Grokking Simplicity: Taming Complex Software with Functional Thinking

Manning

£39.66 06 Aug 2026
Effective Kotlin: Best Practices (Kotlin for Developers)
77% match

Effective Kotlin: Best Practices (Kotlin for Developers)

£49.99 03 Jul 2026
Manning Writing for Developers - Technical Blog Guide
76% match

Manning Writing for Developers - Technical Blog Guide

Manning

£39.68 04 Sep 2026
Functional Programming in Kotlin
76% match

Functional Programming in Kotlin

Manning

£23.00 08 Aug 2026
Client-Centered Software Development: The CO-FOSS Approach
76% match

Client-Centered Software Development: The CO-FOSS Approach

CRC Press

£45.59 03 Aug 2026
Functional Programming in C#: How to write better C# code
76% match

Functional Programming in C#: How to write better C# code

Manning

£43.10 05 Aug 2026
Microservice Patterns: With examples in Java
76% match

Microservice Patterns: With examples in Java

Manning

£18.64 06 Aug 2026
Practices of the Python Pro
75% match

Practices of the Python Pro

Manning

£40.19 09 Aug 2026
Working with Coders: A Guide to Software Development for the Perplexed Non-Techie
75% match

Working with Coders: A Guide to Software Development for the Perplexed Non-Techie

Apress

£33.65 10 Aug 2026
AntiPatterns: Refactoring Software, Architectures, and Projects in Crisis
75% match

AntiPatterns: Refactoring Software, Architectures, and Projects in Crisis

Wiley

£36.10 06 Aug 2026
Secure By Design
75% match

Secure By Design

Manning

£30.42 10 Aug 2026
Java to Kotlin: A Refactoring Guidebook
75% match

Java to Kotlin: A Refactoring Guidebook

O'Reilly

£36.98 09 Aug 2026
Agile Software Development with C# Scrum, extreme programming, and Kanban
75% match

Agile Software Development with C# Scrum, extreme programming, and Kanban

CREATESPACE

£69.83 10 Aug 2026
Functional Programming in C++: How to Improve Your C++ Programs Using Functional Techniques
75% match

Functional Programming in C++: How to Improve Your C++ Programs Using Functional Techniques

Manning

£39.13 05 Aug 2026
Game Development Patterns with Unity 2021: Explore practical game development using software design patterns and best practices in Unity and C#
75% match

Game Development Patterns with Unity 2021: Explore practical game development using software design patterns and best practices in Unity and C#

Packt Publishing

£39.46 07 Aug 2026
Modernizing Legacy Applications in PHP
74% match

Modernizing Legacy Applications in PHP

Lulu

£41.99 06 Aug 2026
Classic Game Programming on the NES: Make Your Own Retro Video Game
74% match

Classic Game Programming on the NES: Make Your Own Retro Video Game

Manning

£37.62 06 Aug 2026