Laminar code and turbulent code: what they mean

Laminar code is code that is simple to understand and change, correct in behavior, and fast enough for its purpose.

Turbulent code is code that is hard to understand or change, incorrect in behavior, or too slow for its purpose.

Both terms come from my book Laminar Software Design, where they serve as the central vocabulary of software design. The definitions rest on the three timeless qualities, the opposites of four problems that have been with software since practical programming began. No tool or paradigm has removed them, as the article The three timeless qualities of software shows in more depth. The qualities matter most together, so the pair is uneven on purpose: “laminar” asks for all three qualities at once, while any one problem is enough to make code turbulent.

The three timeless qualities of software: simple, correct, and fast enough

Models now write a growing share of software, and they write it in seconds. So the expensive step is no longer writing code but judging whether the code is good, and a judgment needs a definition to judge against. In my view the industry still has no shared definition of high-quality software. In my book Laminar Software Design I define high-quality software as software that is simple enough for humans to understand and change, works correctly as intended, and performs adequately for its purpose. In short, it is simple, correct, and fast enough. I did not pick these three qualities by taste: I derived them from the problems that no tool and no paradigm has removed since programming began.

The method behind this is older than my book. Several authors whose books became references each started from real problems and built principles to avoid them. Among them are Steve McConnell in Code Complete, Martin Fowler in Refactoring, Kent Beck in Test-Driven Development, Michael Feathers in Working Effectively with Legacy Code and Robert Martin in Clean Code. I add a filter of history to that method: a problem counts only if it came back under every new tool. Good software is then the opposite of those problems, in the way a doctor recognizes sickness by its symptoms more easily than anyone can define health.

How I wrote the "Laminar Software Design" book

In February 2025 I was looking for a book that I could give to my developers, so that they would know how to write tests. With that in mind I reviewed the draft of the first volume of Angry Tests, a book about tests by Yegor Bugayenko. I did not agree with everything in it, and while reading it I got the idea to write a book of my own. I did not know how much I had to say, and I worried that it would end at 20 pages, too thin even for a small handbook. So I hoped for at least 100 pages, and I planned about three months of work. The work started in Claude Code on 29 November 2025, so by that plan the book would be done around the end of February. Instead Laminar Software Design became 277 pages and went live on 31 August 2026, after nine months of work instead of three. So where did those nine months go?

Integration tests for SAP Commerce OCC controllers

OCC controllers in SAP Commerce are rarely covered by tests that run them with their real configuration. For that reason a misconfigured data mapper or a broken controller mapping shows up only after the server is started and a real request is sent. SAP Commerce already ships test support, which runs this whole chain inside a JUnit test, and below is a recipe for using it.

How to switch between profiles in Claude Code

Claude Code does not provide native support for switching between multiple accounts or profiles. Having a personal Claude account for side projects and a separate work account for professional tasks means constantly logging in and out to switch between them. This is annoying and error-prone as it is easy to forget which account is active and accidentally use the wrong one.

Server-Sent Events - real world implementation

In SAP Commerce, frontend applications often retrieve the latest data by periodically requesting updates from the server. For instance, this could involve checking for new notifications every few seconds or refreshing a page every 30 seconds to display the most recent content. While straightforward to implement, this approach has notable drawbacks, including increased server load, unnecessary network traffic, and a suboptimal user experience due to update delays.

Parallelizing FE and BE builds with ant

Many SAP Commerce projects are still using regular storefront approach, often incorporating modern frameworks like Vue.js and using default SAP Commerce build. Implementing parallel execution of FE and BE builds can lead to significant reductions in overall build time. Even for projects utilizing the OOTB Grunt build, parallelization can result in significant time savings. Furthermore, parallelization provides the valuable advantage of decoupling FE and BE builds, enabling developers to skip FE builds when focusing on BE development.

(1 - 5)
Enter Press Enter to jump