Skip to main content
Baldur Bjarnason

Code smell, Gall's Law, the rule of least power, and a bunch of links

Baldur Bjarnason

This week: two big extracts from recent projects, how certain companies suck, the rule of least power, links, and photos.

Unluttered: On code smell and gut feeling #

The main big publications of the week are two extracts. The first is a standalone extract from Uncluttered:

Memory is fallible and degrades surprisingly quickly. Relying on your memory too much in your work leads to errors, both because your recall can be wrong, but also because software changes. What you remember might not be correct any more.

What’s more important is gut feeling. The human mind is great at spotting patterns and deviations from patterns. Instead of trying to remember somebody’s attempt at thoroughly defining loose or tight coupling in software development, I want you to think back to the examples and rule of thumbs.

You can read the rest in ​"On code smell and gut feeling"​

At the very least, you can’t accuse me of not having opinions. 🙂️

Yellow: Gall’s Law #

The other big extract is from Yellow: principles (or useless aphorisms) for software dev and it’s both an edited/rewritten transcript and a video:

​"Gall’s Law"​

I have never seen anybody manage to break John Gall’s Law. It applies to every single aspect of software development, in that we are fond of planning and organising and building complex systems from scratch. We design these intricate structures of objects and classes that interact. We build things that have no chance ever of working.

Gall’s Law on its own is one of the core principles of modern software development. It affects everything you do, even if you aren’t aware of it, so you might as well be aware of it.

Software is getting worse #

​"Microsoft’s new Outlook client quietly moves your email to the cloud"​

We do all realise that this is worse, right? It doesn’t matter if these apps or the new version of Windows have fewer bugs, they’re now objectively worse in every way that matters.

The rule of least power #

​"You don’t need JavaScript for that - HTMHell"​

The rule of least power

It’s one of the core principles of web development and it means that you should Choose the least powerful language suitable for a given purpose.

One of the most important rules of software development.

It’s not just the tech, these specific companies just plain suck #

​"OpenAI’s Custom Chatbots Are Leaking Their Secrets | WIRED UK"​

As you might guess, I think generative models are both less functional than claimed and harmful where they are functional.

But I also specifically distrust OpenAI and Microsoft as companies. If you genuinely believe in the technology – and I absolutely do see why you would even if I disagree – then these two companies are the absolute worst stewards for an innovation of this kind. Just look at the example I mentioned above. Microsoft consistently makes the worst choices when it comes to software design and development.

They just plain suck as companies and should not be trusted.

New bundles #

I’ve reorganised the courses and ebooks I’ve made into two bundles:

Trying to strike a balance between keeping things affordable and being able to pay the bills. 🙂️

Photos #

My sister sent me a new batch of photos of her cat, Kolka, a rescue who was originally found outside a mushroom farm in the south of Iceland

Now a sweet cat who loves scritches.

Kolka, a black cat with a white spot, looks up with a suspicious look in her eyes.

Kolka, a black cat with a white spot, looks up, wondering why she isn't getting scritches

Turns out Kolka, the black cat, has resting suspicious face.

What Hveragerði looked like last week at noon:

The sun rises behind a commercial greenhouse

The sun peaks over a run down house.