AI Works Better with State Machines
State machines make complex interaction flows easier to reason about, test, and build, especially when AI is part of the implementation process.
Read more →Thoughts on software engineering, TypeScript, and building better systems.
State machines make complex interaction flows easier to reason about, test, and build, especially when AI is part of the implementation process.
Read more →After 5 years of a neglected Home Assistant setup, I finally found the workflow that makes home automation fun again. The secret? Treating it as a code generation problem with AppDaemon and Claude.
Read more →Business logic validation is hard. What starts as simple if-statements quickly evolves into a tangled mess of if/else/try/catch/throw - business rules need to share data, call external services, provide meaningful errors, need to be tested and understood, etc. If you're using Typescript, you might find this library useful.
Read more →Designing with types, and using LLMs to implement them, leads to better software!
Read more →This is my first blog post on my new personal website. Join me as I share thoughts on software engineering, technology, and more.
Read more →