Get Free Shipping on orders over $0
Pragmatic Clean Code : A practical guide to writing code that lasts - Krystyna Ślusarczyk

Pragmatic Clean Code

A practical guide to writing code that lasts

By: Krystyna Ślusarczyk

Paperback | 30 September 2026

Sorry, we are not able to source the book you are looking for right now.

We did a search for other books with a similar title, however there were no matches. You can try selecting from a similar category, click on the author's name, or use the search box above to find your book.

Write cleaner, easier-to-maintain code by learning practical refactoring techniques for names, functions, classes, dependencies, and tests

Key Features:

- Write readable, well-structured code that is easy to modify.

- Apply SOLID principles through practical examples.

- Recognize code smells and know when to refactor.

- Turn messy code into maintainable solutions through step-by-step case studies.

- Print or Kindle purchase includes a free PDF eBook.

Book Description:

Most advice about code quality stops at the surface. Use good names. Keep methods short. This book goes further by explaining why clean code principles exist, what they achieve, and how to apply them with practical judgment.

You'll begin with naming and method design before moving into classes and the SOLID principles as tools for everyday design decisions. You'll then explore how coupling, cohesion, reuse, inheritance, and composition affect how easily a system can evolve.

The book also shows why well-designed code tends to be testable code and how dependency injection, unit tests, and mocks make changes safer. Formatting, comments, and other clean-code practices are considered in the situations where they affect maintainability.

Step-by-step refactoring case studies show not only what cleaner code looks like, but why each design decision is made. Although the examples use C#, the principles apply well beyond it, so developers working in other languages will find them useful too.

Written by software developer and programming instructor Krystyna Ålusarczyk, this book emphasizes practical judgment over memorized rules. By the end, you'll be able to identify maintainability problems and refactor code into software that is easier to understand, test, and change.

What You Will Learn:

- Choose clear, expressive, and consistent names

- Design focused functions with effective signatures

- Apply SOLID principles to everyday design decisions

- Reduce coupling between classes and improve cohesion within them

- Organize classes and projects so the codebase is easy to navigate

- Write readable unit tests and improve testability

- Refactor messy C# code to make it readable, testable, and easy to extend

Who this book is for:

This book is for developers who want to write code that is easier to read, modify, and maintain. It is particularly useful for anyone working in messy or legacy codebases who want a systematic approach to improving them, junior developers looking to build strong professional coding habits, and seniors who want to sharpen their skills and lead by example during code reviews. A basic understanding of programming and object-oriented concepts is recommended.

Table of Contents

Understanding clean code

Meaningful names

Writing better methods

Formatting code

Applying the Single Responsibility Principle

Applying the Open-Closed Principle

Applying the Liskov Substitution Principle

Applying the Interface Segregation Principle

Applying the Dependency Inversion Principle

Static methods and dependencies

Designing smaller classes

Organizing classes and projects

Balancing coupling, cohesion, and reuse

Using comments effectively

Writing testable code and clean tests

More in Programming & Scripting Languages

Introduction to Programming Languages - Gordon Hurley
The Practical Guide : The Practical Guide - Kerem Koseoglu
The C Programming Language : Prentice Hall Software - Dennis Ritchie

RRP $107.04

$75.75

29%
OFF
Coding For Dummies, All New Edition : For Dummies (Computer/Tech) - Paul McFedries
Python & AI For Dummies - John C. Shovic

RRP $57.95

$44.75

23%
OFF
Python All-in-One For Dummies : 3rd Edition - John C. Shovic

RRP $74.95

$55.75

26%
OFF
Think Python 3e : How To Think Like a Computer Scientist - Allen B. Downey
Problem Solving and Program Design in C, Global Edition : 8th Edition - Jeri Hanly
Learning Python 6th Edition : Powerful Object-Oriented Programming - Mark Lutz
Python Automation For Dummies : For Dummies (Computer/Tech) - Alan Simpson
PHP, MySQL, & JavaScript All-In-One For Dummies : For Dummies - Richard Blum
Python Cookbook : Recipes for Mastering Python : 3rd Edition - David Beazley
C++ How to Program, Global Edition : 10th Edition - Paul Deitel

RRP $167.95

$133.75

20%
OFF
Fundamentals of Python : 3rd Edition - First Programs - Kenneth Lambert
Concepts of Programming Languages, Global Edition : 12th Edition - Robert Sebesta