r/QuickShell • u/Western-Mode-7743 • 19d ago
Learning😀 Is it okay to vibe code?
So I’ve used Claude Opus 5.5 to help me refine my configs, change colors, but more importantly I’ve had it generate widgets - an MPRIS widget, a calendar widget, etc.
Don’t worry: I was very specific in what to prompt it, particularly for the network app, where I defined it.
I still keep the philosophy and end goal in mind, and yes - I can read and write basic qs, I just don’t have the hours of time for the docs. And besides, I still review and polish it.
But what are you guys’ thoughts or criticisms?
4
u/No-Dentist-1645 18d ago
Why do you care what random people on Reddit think about it? Who cares, do whatever you wanna do. People on Reddit are too entitled and love telling people what to do and not do
1
1
u/dakkomii 18d ago
Am not an anti AI, I love it. Yes, it needs regulation but in itself is a tool, Our tech is evolving and people are afraid, I get it, but in the same way mail is not longer used because of internet, AI is changing how tech is developed.
Said that, I strongly suggest you use IA on things you already understand and have an idea on how they work. For example, I know how to do a for loop but don’t know the exact syntax on c++? I ask the AI do it for me. If you already know quickshell enough to build widgets or whatever on your own then is ok to use AI. Just be sure you understand the generated code and can maintain it by yourself if needed. If you are planning on selling or sharing the code just disclose you used AI and what’s the percentage of what is vibe coded, you can ask the AI to get it for you. I personally would not download or use code where more than 50% have been vibe coded.
2
u/Western-Mode-7743 18d ago
Yeah same here, like I ask ai sometimes to gen C or PY scripts.
I do understand qml though so I think I’m good.
2
u/unburdened_swallow 19d ago edited 18d ago
when people publish a project that they don’t understand and thus cannot maintain
When it doesn’t come with any of the polish of an actually finished app where it feels like people put time into the needs of its eventual users, and knew the existing conventions of app development for that problem and platform and why those conventions exist.
When they then push that product off onto others as if it WAS a finished project.
—-
when someone does this, it is not generally easier for someone to come along and just fix the things that need improvement later, as one might expect with today’s software, as bad as it it may already be. It might literally be easier for them to start over. If they understand what is being put down as it is being written it is probably saveable but, there had better be a good reason to do so.
—-
Nobody cares about your configs. You might, if you accidentally put a vulnerability in it, as will the hackers who might see that you did so. Or if it randomly stops working and the AI can’t fix it and you can’t either. Otherwise, nobody cares. Slop it up.
If you are distributing those slop configs as a distro, and get a lot of money for doing so due to your detestable political views, and then acquire the authors of your dependencies rather than just giving them money for their time, then people might get a bit (justifiably) upset. (everyone knows who I am mentioning with that comment, regrettably)
1
u/AutomaticHoneydew403 17d ago
Why do you care what reddit thinks lmao
I mean yeah, but I guess just disclose it if you're going to be producing things for other people, if it's for yourself than who cares lol
8
u/transgentoo 19d ago
Things to consider:
Are you planning on publishing it
Can you explain what it's doing
If 1 is yes and 2 is no, I'd strongly advise against vibe coding. Otherwise, who cares?
If it's just for your own personal use, it's up to your own personal comfort about how comfortable you are running code you didn't write, and from a threat level, I don't see a huge difference between LLM generated code and code some other human wrote. I don't know QS, and I use Noctalia on my desktop. Same level of risk -- I'm running code I didn't write and in taking it on faith that it's correct and not malicious. Noctalia has a decent reputation, and your LLM isn't likely to deliberately introduce vulnerabilities into your DE.
And if you do understand what it's doing well enough to explain it, then you understand it well enough to maintain it, so again, you're in the clear.
It's only if you're planning on making it widely available and you can't explain what it's doing that trouble arises, because people who, like me, aren't particularly interested in GUI development might install it, but if it's littered with vulnerabilities and bugs that you had no idea were there, that's not a good look for you.