AI isn't for lazy people

submited by
Style Pass
2024-12-29 05:30:02

Well, as I wrote here, I've built this website almost exclusively with AI. And it was amazing! I got so much done so quickly, that I've launched this site in just 5 hours1. I was moving so fast! I was adding features left and right! I... was the king of code! 🦍

Reviewing code that AI wrote? That's on the ape's blacklist! That's no fun! That's no feature added! That's no shiny!

AI isn't perfect, we know this. And even if it was perfect, our prompting probably won't ever be. So, needless to say, this codebase started to have a few quirks, to put it mildly. Pretty fast, actually. So I added a task to my todo list to deal with this later, when the "hon-AI-moon" of adding features was over.

I'm just going to say this: I had 3 different functions for fetching the list of blog posts, defined throughout the app. They were returning objects with a slightly different structure, but they were nevertheless doing the exact same thing.

I dutifully went through the code and cleaned it up. And since I'm lazy and don't want to have to clean the code again, I've decided on the following guardrails:

Leave a Comment