AI coding agents can generate code in seconds. But without guardrails, they often produce brittle “AI-slop”. In this post I show how a simple TDD rule can guide an agent to produce higher-quality code. AI Agents are Everywhere On the AI timescale, my first post about code generation with ChatGPT is now ancient history. We’ve evolved at breakneck speed. In 2026, we ask agents to plan, write, test and refactor entire products. Every major coding tool (e.g. Claude Code, Cursor, Antigravity) ships with an agent mode that supports planning, semi-autonomous and fully-autonomous task execution. ...
Test Driven Development in the Era of ChatGPT
The recent massive leap in Large Language Model (LLM)-aided Natural Language Generation (NLG) models like ChatGPT has disrupted general software development code such as REST APIs and database operations. Software developers now crave these shiny AI tools to get their job done. They will ask to write the code and also the tests. Some ambitious managers think they could resolve their painful developer resourcing issues by using such tools. Also, some software sales folks will make wishful commitments for products and features by thinking ChatGPT would sort them out. ...
Have you ever thought about how to learn to learn better?
I have always been intrigued by how some people learn things more effectively and be highly consistent than others. How to learn to learn? Can I push my brain differently? These were things that had been niggling me for a while. I have recently researched into this area and found out some fantastic resources and online courses. This is a fascinating and thought-provoking area of research. It is crucial to have at least a basic understanding of how the brain processes the sea of data and information that we feed every day, how to keep the focus among never-ending distractions, and why persistence is a key factor. I have been following these super useful behavioural techniques for a few months and already see the productivity gains. And more importantly, anyone could follow them without much effort. So sharing is caring. TBC
Do you use these kotlin features right?
I have been using Kotlin for more than a year now, mainly for backend development. I found it an efficient language for general-purpose software development and a thoughtful crossover between Java and Scala. The compile-time null safety, reduced verbosity, coroutines, tail-recursion and enhanced collection API with Java are great features that you miss in even the latest versions of Java (I am talking about Java 16). On the other hand, Kotlin is less intimidating than Scala for developers who do not have much experience in functional programming. ...