Jump to ratings and reviews

The Art of Code: The surprising power of beauty in software development

Get the eBook free when you register your print book at Manning.

Software development is an inherently creative activity, and yet we regularly reduce it to the formulaic or mechanical. This book reveals how aesthetics can be important in programming and why elegant code often yields profound practical benefits. By prioritizing code beauty you raise the standards of your entire codebase. You make it easier to maintain, extend, and onboard developers, even (or especially) when you’re doing agentic coding. This guide for developers discusses how artful coding directly reduces bugs and increases system durability. It will deeply enhance your personal satisfaction as a developer.

At the heart of this book lies the “rosette model,” a structural framework that maps eight interlocking dimensions of code quality. It places durability as the foundation, with creativity at the center supported by overlapping traits like simplicity, expressiveness, and sustainability. As reviewer Oliver Forral from Reason Benefit Corporation notes, “The rosette model gives ‘beauty’ a concrete structure instead of leaving it as a vague aspiration, illustrating its power through brilliant before-and-after refactorings.”

To bring narrative structure to your classes, the book introduces a genuinely original “five fundamental plots” framework. This unique design tool elevates enterprise business logic from a list of instructions into a readable story structured around Delivering, Cleaning, Defense, Archiving, and Transformation.

Concise yet complete, this book’s 10 comprehensive chapters and rich practical appendixes present a cohesive, masterfully written roadmap. It equips you with actionable green design patterns, error-handling strategies, and elegant data modeling principles that bridge the gap between high-level architectural theory and everyday coding practice.

In today's era of agentic AI coding, human design judgment matters more than ever. AI tools mirror the surrounding code quality. Clean code yields clean generation, while messy files propagate flaws. Without guidance, AI introduces "comprehension debt”—code that compiles but no team member understands—and applies fragile, patched-together fixes. This book empowers you to act as an essential creative director, translating aesthetic principles into reusable AI prompts and maintaining final design responsibility.

What's inside

• Structure logic elegantly using the five fundamental plots framework
• Leverage the rosette model to systematically reduce cognitive complexity
• Reduce ecological footprint using practical green design patterns
• Elevate AI-assisted programming by eliminating costly comprehension debt

About the reader

Written for programmers seeking to transition from functional writing to elite software craftsmanship.

About the author

Sandrine Banas is a senior Java expert, lead tech, and passionate software craftswoman with over 25 years of experience in the industry. She is an Oracle Certified Professional and speaks on code quality and craftsmanship at notable technology conferences such as Devoxx, Volcamp, Mixit, Snowcamp, and Agile Grenoble.

Table of Contents

1 The aesthetics of code
2 Narrative code
3 The complex art of simplicity
4 Expressing clarity of intent through elegant data modeling
5 Expressiveness
6 Embracing purity with functional programming
7 Handling failure with grace
8 Sustainability
9 Durability in software design
10 Creativity in code and problem-solving
A Appendix

248 pages, Paperback

Published August 25, 2026

Loading...
Loading...

About the author

Ratings & Reviews

What do you think?

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
2 (40%)
4 stars
2 (40%)
3 stars
0 (0%)
2 stars
0 (0%)
1 star
1 (20%)
Displaying 1 - 2 of 2 reviews
12 reviews3 followers
August 31, 2026
I have spent waay too many years writing code and I have seen many different new ideas that everyone should follow. It is similar to when I first started to do unit testing and I was testing simple getters and setters until I realized that is useless, then I moved beyond just the measuring of code coverage. That was the start of thinking beyond what is considered best.
In this book the author starts with discussing how an author writes a compelling story, weaving actions into scenes, then chapters with well-named characters, to help describe how applications can and should be written, so that they can grow in a maintainable way. This was chapter 2, btw.
Then she covers about complexity in code and shows that we can go beyond the basic cyclomatic complexity and consider cognitive complexity.
She gives code and explanations for skills, acknowledging that many developers will use code-assist tools, so these skills can be beneficial.
She not only discusses object oriented languages such as various java versions, but also talks about functional languages including examples from Haskell.
I did find the section on different types of testing and common libraries/tools to be very interesting as a couple of them I am not as familiar with, and several links to learn more.
The approach in this book is to help break down the complexity of each chapter into smaller parts, based on the idea that most people can hold up to seven different concepts in their head at one time, so for example, in the simplicity chapter the larger concepts are Prevent, Organize, Reduce, Hide, Investigate and Endure.
This approach is consistent in the first half of the book and beyond that there are ideas that go beyond just writing/desiging/refactoring code and looking at the big picture, so, for example, how to do more with green computing. One interesting example is during certain times of day, to process large amounts of data, why not take advantage of which data center will have a lower greenhouse emission to do the processing. Interesting concept.
There are so many interesting ideas, and the last one is actually the main one without skills because it is about creativity and that is something we need to do, though she does mention how AI can be beneficial.
This is not an ivory tower book, but one that is grounded in experience and the reality of this world, that GenAI exists and will be used.
Once you read it you will want to take time to absorb the ideas and read over chapters to better understand and look at how you may make it part of your toolbox.
A last thought, I loved that she talks about the benefits of functional programming, as I kept thinking of the fact that some of what she points as as being bad can easily be solved by picking a different language.
3 reviews
Read
September 2, 2026
Overall Assesment - 8/10

It addresses a problem that is becoming MORE important because of AI.This is where I think the book is particularly timely.

The author argues that AI coding tools can produce code that works but isn't necessarily understandable or maintainable.
The book therefore treats AI as something that should amplify a developer's judgment rather than replace it.
The final chapters explicitly cover creativity and problem solving, while the book also discusses improving AI-generated code
Displaying 1 - 2 of 2 reviews