• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Microcontroller Tips

Microcontroller engineering resources, new microcontroller products and electronics engineering news

  • Products
    • 8-bit
    • 16-bit
    • 32-bit
    • 64-bit
  • Applications
    • 5G
    • Automotive
    • Connectivity
    • Consumer Electronics
    • EV Engineering
    • Industrial
    • IoT
    • Medical
    • Security
    • Telecommunications
    • Wearables
    • Wireless
  • Learn
    • eBooks / Tech Tips
    • EE Training Days
    • FAQs
    • Learning Center
    • Tech Toolboxes
    • Webinars/Digital Events
  • Resources
    • Design Guide Library
    • DesignFast
    • LEAP Awards
    • Podcasts
    • White Papers
  • Videos
    • EE Videos & Interviews
    • Teardown Videos
  • EE Forums
    • EDABoard.com
    • Electro-Tech-Online.com
  • Engineering Training Days
  • Advertise
  • Subscribe

Book review: The Art of Clean Code: Best practices to eliminate complexity and simplify your life

August 15, 2022 By Lee Teschler

The Art of Clean Code: Best practices to eliminate complexity and simplify your life, by Christian Mayer, No Starch Press

If you wanted a short primer on how to be an exceptionally productive programmer, you could do a lot worse than Christian Mayer’s 142-page book. Mayer, a computer science PhD and founder of the Finxter.com Python site, has written an extremely readable book that will probably benefit not just coders but also anyone who wants to organize and spearhead a product development effort. As you might expect from his background, Mayer uses Python code to illustrate a lot of his concepts, but the code in this book is not extensive. Even non-Python programmers will be able to get the gist of the points he makes.

The Art of Clean Code:

The premise of the book is that there are ways of reducing complexity that allow coders to work less while getting more value from results. It makes this point by examining nine principles, none of them new, but not necessarily applied to coding before Mayer’s treatise.

Mayer starts off by examining complexity, not just in coding but also in life. He expands the principle by covering the old 80-20 rule—80% of effects typically come from 20% of causes—but does so in a way that involves fractals, therein providing some interesting insights on this effect. As with several of the topics Mayer covers, this concept has implications outside programming. Ditto for other sections of the book devoted to performance optimization, building minimal viable products, and the build/measure/learn cycle.

The main thrust of Mayer’s thesis is covered in chapters on writing clean and simple code and on the Unix philosophy of doing one thing and doing it well. Less-experienced programmers may find several aspects of this material illuminating like, for example, readability trumps CPU cycles, and that small focused kernels work better over the long haul than monolithic programs that are perhaps more efficient. Also interesting are chapters on flow and on design and user experience.

In a nutshell, readers of this book will likely come away as believers in a more minimalistic mindset. Moreover, the book lives up to its title: The lessons taught can be applied not only in coding but also toward making the reader’s life generally more productive and successful.

You may also like:


  • How to turn off a smart meter the hard way
  • router security
    Worst suspicions confirmed: The terrible security of internet routers
  • BLE hacks
    Breaking BLE — Vulnerabilities in pairing protocols leave Bluetooth devices…
  • RF won't hurt you
    No, IoT RF radiation won’t cause a pandemic
  • pi and thermostat
    How Mr. Robot hacked the IoT

Filed Under: Featured, Industry Experts, Industry News

Primary Sidebar

Featured Contributions

Five challenges for developing next-generation ADAS and autonomous vehicles

Securing IoT devices against quantum computing risks

RISC-V implementation strategies for certification of safety-critical systems

What’s new with Matter: how Matter 1.4 is reshaping interoperability and energy management

Edge AI: Revolutionizing real-time data processing and automation

More Featured Contributions

EE TECH TOOLBOX

“ee
Tech Toolbox: Internet of Things
Explore practical strategies for minimizing attack surfaces, managing memory efficiently, and securing firmware. Download now to ensure your IoT implementations remain secure, efficient, and future-ready.

EE Learning Center

EE Learning Center

EE ENGINEERING TRAINING DAYS

engineering
“bills
“microcontroller
EXPAND YOUR KNOWLEDGE AND STAY CONNECTED
Get the latest info on technologies, tools and strategies for EE professionals.

RSS Current EDABoard.com discussions

  • Elektronik devre
  • Powering a USB hub: safely distributing current from a shared power supply
  • RF-DC rectifier impedance matching
  • How can I get the frequency please help!
  • 12VAC to 12VDC 5A on 250ft 12AWG

RSS Current Electro-Tech-Online.com Discussions

  • 100uF bypass Caps?
  • Fuel Auto Shutoff
  • Actin group needed for effective PCB software tutorials
  • how to work on pcbs that are thick
  • compatible eth ports for laptop

DesignFast

Design Fast Logo
Component Selection Made Simple.

Try it Today
design fast globle

Footer

Microcontroller Tips

EE World Online Network

  • 5G Technology World
  • EE World Online
  • Engineers Garage
  • Analog IC Tips
  • Battery Power Tips
  • Connector Tips
  • DesignFast
  • EDA Board Forums
  • Electro Tech Online Forums
  • EV Engineering
  • Power Electronic Tips
  • Sensor Tips
  • Test and Measurement Tips

Microcontroller Tips

  • Subscribe to our newsletter
  • Advertise with us
  • Contact us
  • About us

Copyright © 2025 · WTWH Media LLC and its licensors. All rights reserved.
The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media.

Privacy Policy