Update anxiety
| 3 min read
Over the past few months, since August, I've been working on AdRotate Pro 6.0. Some planning and development started way back in 2024 already. But changes made then were incremental, or a small refresh of settings dashboards. Maybe some modernization of pieces of code. Nothing all that major that would warrant a major version bump from 5 to 6.
More recently though, I've been working on re-creating all outputting code for AdRotate Pro. The plugin will finally output adverts through Javascript and WP-Json. You know, like some other plugins have been doing for years.
Javascript sucks
I don't like Javascript, I never paid much attention to it. And my most impressive achievement in it are the bits and bops currently in AdRotate Pro. Half of it I didn't even create myself, just modified it. Creating API endpoints and useful code to output adverts through a dynamic system with Javascript requires more than my current skill can provide. So I created most of the code with Qwen 2.5 14B. I talked to Google Gemini too, but that didn't go so well.
Gemini: But this is what most people do or prefer.
Me: Shut up and read my requirements.
And then it would barf out atrocious code that kinda worked, but didn't do what I wanted. Or it didn't work with WordPress, or AdRotate Pro.
Yeah Gemini, you're a stupid idiot half the time!
It's not vide-coded bullshit though, I like to think that I know enough JS to know when things are broken and stupid. I also only trust AI as far as I can throw it, which is not very far. As such, I didn't tell it to make some wall of code and ran with it. I've spent 3 weeks tweaking, testing and cursing at my laptop to get the functions and code that I want, the way I want it. I even wrote some Javascript myself!
The result, a compact, optimized API endpoint for WP-Json for adverts. I think it does everything the current system does, but with Javascript. Oh and I also managed to ditch the jQuery requirement.
And, it works too... On my test website at-least.
Sense of impending doom
Now with the update pretty much ready, I put it away and let it lie for a few days. I've been revisiting the code and functions every week or so for over a month. Every time I come up with little tweaks, improvements. Make it more efficient code-wise. Re-using a function here, replacing a query there. That sort of thing.
And still it doesn't feel right. Even though everything seems to work fine.
Why am I hesitant to release this update and improve the world?
Maybe I'm forgetting something, but every time I load up the test site, browse around the dashboards. Go over the update scripts... It all works. Or seems to anyway. Settings save. Stats count. Ads load and rotate - AdRotate! Grids work, using CSS Grid this time. No more jank and wonky sizing issues.
So why do I have this update anxiety!?