RSSAmplifier

Blog

The Coding Craftsman

Shaping code and trying to make rounded engineering decisions.

codingcraftsman.wordpress.comRSS feed ↗10 posts

Latest posts

The Illusion of Testing

When writing code, test first, we focus on the observed behaviour of the code based on states we can put the system in before trying the code out, and the final state of the system or the outputs of the code. We try to avoid implementation details, and we try to make the tests a [ ]

Turning Sane People Into Drones

I want to talk about this LinkedIn comment: It s based on the reasonable hypothesis that if you provide good guardrails against bad AI code, then you ll not get bad code, so don t need the bottleneck of manual code review, allowing you to focus on specification, the output of the system, and adding occasional additional guard [ ]

To Be or Not To Be

In software development, things are either boolean, or they re not. Thanks for reading, bye! To Be Boolean or Not To Be Boolean When we have some type attribute on some data where if it s class 1, or state 1, we want to do things one way, and if it s class 2 or state 2, we [ ]

Of All The Towns in All The World

You re going to have to read this in the inner monologue voice of a hard hardboiled detective. Think of those classive movies, or even Nicholas Cage in Spider Noire. Yeah, I ve been with the agency a little while now. Seeing how things go down. Back home I m using CoPilot with Gemini to make me a [ ]

Optional Abuse

I love Java Optional. I love it so much, I even re-wrote it in TypeScript. I think it can be abused. Sometimes an if statement is enough. Storing an Optional and then querying it for presence can often be an antipattern. However, I ve noticed a new things recently. I think it s the product of clever [ ]

AI Isn’t Actually Better

A little story from my current adventure with music. I m presently recreating an album of songs originally generated by AI. What with one thing and another this is requiring me to sing the songs as demo versions for Suno to be able to use that as the input to be able to make new AI [ ]

That Time I Was a Sex Worker

What can I say? It paid for my piano. So, this isn t a post about sex work per se, and I ll explain the job in a minute. The question to ask is this can your team of lots of individuals working asynchronously maintain context when people are dropping in and out of the conversation? [ ]

So Low

Another bit of sound engineering advice for you. A solo-ed track sits differently in the mix. From a sound engineering point of view the issue can be that optimising the sound of each track one by one doesn t pay full attention to the impact that has on the overall mix. Some engineers make adjustments to [ ]

Extraordinary Claims Need Extraordinary Evidence

In a world of AI slop, and people s opinions being given way more weight and social acceleration than they deserve, here s my view. If you make an outrageous claim on social media, it s your responsibility to back it up with decent data, research, etc. If you re making a large claim and it s easily debunkable, then [ ]

Kill Your Darlings

Another from my occasional series about how sound engineering, and indeed music creation advice applies to software engineering. Last night I went back to one of my albums and I looked in the bin. I wanted to see whether I d experience any regret in letting good songs go. There s a saying in writing which is [ ]