Vibe Coding

Senkusha

Student Council President
gemgemgemgemgemgemgem
Staff member
Administrator
Isekai Society
Joined
20-Jun-2003
Messages
2,209
Age
51
Gender
Female
Yesterday, I got my first taste of Vibe Coding. I wanted to do something, that I thought would be a a quick implementation, maybe half-an-hour of work, because all I wanted was a simple progress bar. How hard could that be, right? I mean, there's this:
HTML:
<label for="something">Progress of Something:</label>
<progress id="something" max="100" value="35">35%</progress>

So this should be easy! I just need to understand how XenForo handles HTML....

It took over 12 hours to complete, most of that time going around in a circle, because apparently my theme strips some things out, partially because the damn button was there but the font-awesome wasn't appearing, and because I decided to make it fancy with a dialog input form and pretty rainbow colors. :rolleyes:

Let's talk about what happened, and why Vibe Coding is nothing more than yet another Dopamine hit.

I didn't necessarily learn how to properly write code for XenForo. Something that should have taken maybe an hour of preemptive research, wasted several hours of my time-- had I done the research first. The AI discovered that it was looking at obsolete information, which explained why the code wasn't working in the first place. I should have learned about CSS, HTML formatting, Javascript, and Object Oriented Programming using PHP. I should have learned about the development coding standards for XenForo. Instead, I was instructed to do this and do that.

But ya know? I got a really sweet gizmo, that I'll probably use like twice... probably.

The next point I want to touch on is the fact that the AI was using obsolete information to build the code. That's dangerous in any context. Luckily, I wasn't doing anything where lives could be lost. But because I don't fully understand why the code works (yet), I wasn't able to immediately recognize that I was using outdated variables and functions.

But not all that time yesterday was wasted. I learned some powerful debugging techniques and tools. I'm slightly more literate in terms of understanding JavaScript, PHP, and XenForo. I learned the extreme basics for constructing an Addon too, which may come in handy... someday.

Vibe Coding is a skill now, that many people use in their profession(s). But just think about all the trouble I went through yesterday for something simple. Now imagine that your a customer paying money for something complex. The person developing it may not understand what's actually happening behind the scenes. And that means delayed bug fixes at the very least.

What do you think about Vibe Coding? Have you used it? What was the result? As for me, I don't think I'll continue with Vibe Coding. I'd rather understand what I'm doing, rather than being led around by the nose.
 
I haven't vibe coded yet, but I've thought about trying it out to help aide me with my Sonic disassemblies. I'm okay with people using AI to help them with projects, and if they know what they're doing well enough to help step in when the AI messes things up. Though when someone uses AI to code something for them from scratch without knowing any programming skills is when I get a bit worried about their projects. There's someone recently who used AI to partially port Sonic Mania to the Sega 32x, then switched over to the Sega Master System which is a 8 bit console btw and weaker system. This person clearly had little to no knowledge of how Mania works, let alone how the 32x or Master System works so I don't trust that the projects will ever be finished.
 
Okay, so a bit of an update on Vibe Coding.

Over the past week, I've been building an extension for XenForo-- you might have seen it in action as little floating anime portraits, silly test messages, etc, and the occasional Fatal Error message. One thing I would like to give a shout out to the Dev team at XenForo for making the software robust enough that when it takes a crap on itself, it's mostly silent-- stuff just stops working... .like Post Reply.

Anyway, a couple things I noticed. First, I've learned a great deal about XenForo and how it works. I could almost start coding a new extension without DeepSeek's assistance-- I'm not quite there yet. However, I've peeked at DragonByte's software to see how a true professional gets things done, because for some reason, I can't seem to locate the developer manuals/tutorials on the official XenForo site. Gimme another couple of weeks, and I might be good. But, tomorrow I have to go back to my day job in Retail.... <_<

So, the major issue I had was running out of memory. After about 8 MB of text data, DeepSeek said, ya know... you might want to start a new chat. In fact, I demand it. This had a very negative effect on my motivation. I literally had to start from scratch because chat's don't carry over. (Don't worry, I found a work around... :devilish:) But the second biggest issue, was when I first started. And it kinda plagued me throughout the entire process (no, I'm not quite done yet, I'm just out of time) That issue is the constant starting over and over and over again. Mostly because we had bad information. It really helps to be super specific with these AI chatbots. Tell them your exact software versions. Data loss was by far the largest issue I faced. But once I understood how XenForo imports Add-on data that was mostly resolved.

And although I'm learning my way around the code of XenForo, Vibe Coding produced another problem, and I believe I said this in my last message: I really couldn't duplicate what was being built. Like I had created the ability to create Attributes for Big Eyes Small Mouth in the form of dedicated PHP scripts. But how the intimate details are handled, beyond just the cost of something, but what it mechanically does, I'm lost.

Another problem with Vibe Coding, and this one is sneaky. I'm already on version 3.0 of the extension, and I haven't even released version 1.0 yet. I still got data that needs to be built, yet in my rush to get something awesome created, I made a mess. But I can go back and try to add things one by one, over the next couple of months. I'm hoping by the end of the year, that I'll have of Big Eyes Small Mouth 2, and the base of Dungeons & Dragons done-- that system will be harder, because I don't know it nearly as well. Besides, I've only got 3.5 edition.

With all that being said though, I think Vibe Coding is a pretty amazing assistant. I remember building the first version of Battle MOD nearly twenty years ago, and what we've got today is vastly superior. I'm already thinking of the next version, of adding narrative roleplay into it, so the add-on can be extended to be used within full Play by Post role playing games. (I might need some more help with that :nosweat:)

Anyway, Vibe Coding can be very useful, but I know for a fact that it's not going to take the jobs of competent software developers. Not while we still have data limits that manifest brick walls right in the middle of producing a piece of software. Vibe Coding is best used for a small script, something that doesn't required constant iteration and improvement. For the bigger stuff, be sure you know what you're doing, or gosh darn it, figure it out!
 
Back
Top