Computing Thoughts

Bruce Eckel's Programming Blog

Feb 9, 2020 - 5 minute read - Comments

Value-Based Pricing and TDD

I first heard about value-based pricing from an accountant who was creating a startup based on the idea. He tells a story about consulting for a family who inherited an estate. Because of the accountant’s extensive knowledge, he was able to give advice that saved the family a million or more. However, he only charged for his time, a couple of hours. To save that amount, the story goes, the family would have been happy to pay more, an amount based on the value of the work rather than the time it took.

Dec 24, 2019 - 4 minute read - Comments

Unspoken Assumptions Underlying OO Design Maxims

For Atomic Kotlin, I’ve been struggling with an “atom” (very small chapter) during the last couple of months. It’s on object-oriented design, and it brought up a lot of feelings I’ve had for quite awhile about some of the various maxims and design guidelines that have appeared in recent decades, since OO became mainstream. I couldn’t quite put my finger on what bothered me about these design ideas. Then @codingunicorn did it for me by writing a post called Flexible code considered harmful.

Oct 14, 2019 - 1 minute read - Comments

Podcast on Atomic Kotlin and Teal Organizations

A recent interview with The Six Figure Developer podcast. I talk about how much I’m enjoying the design of Kotlin while writing Atomic Kotlin and also my experiment with creating a “Teal” software consulting firm.

Aug 30, 2019 - 4 minute read - Comments

Developer Retreats Keep Getting Better

The recent developer retreat took place August 20-26th. We arranged it because my friend Luciano Ramalho (Thoughtworker and author of the best-selling Fluent Python) was doing a multi-stop trip to the US (from his native Brazil) and had a gap in his schedule, so he wanted to come to Crested Butte and have a retreat. This seems to have become a pattern: someone I know would like to come here, and we end up organizing a retreat around their trip.

Sep 16, 2018 - 4 minute read - Comments

JSON Encoding Python Dataclasses

The Hugo static-site generator can work with data files in the form of JSON, yaml or toml. If you place these in the data directory you can access them within Hugo templates (including Hugo shortcodes, which are called directly from a Markdown file) by saying .Site.Data.<filename>, and then use the contents as part of your static-site build. This feature came in handy for the site, because the ebook deployment service I’m using (Stepik.