r/PHPhelp • u/ScorpSassy • May 03 '26
Vibe coding
Im an IT graduate but picked the hardware major since i find my coding skills to be not good enough but i got a job as a programmer now.
How do i stop myself from vibe coding and attaching myself with tutorials?
Like yeah i know AI is supposed to just help us but i have no idea on how to prevent vibe coding since i am not that knowledgeable on the coding area.
0
Upvotes
5
u/colshrapnel May 03 '26
At least ask AI to explain the code it writes, the structure, architecture, patterns used
2
u/equilni May 03 '26
Sounds like it was good enough to get a job, so good for you.
Use it as a guide or not at all for a period of time.
What tutorials? This was you about a month ago, asking about learning Laravel and you now have a job, so in theory you shouldn't be that dependent on many tutorials...
2
u/eurosat7 May 03 '26
Tell ai that you want to learn programming and you do not want to get full solutions. Some AI integrations have a mode for that called "ask" or "dialog" or "planning phase".
12
u/Mark__78L May 03 '26
Learn. Practice. Learn. Practice.
6
u/hennell May 03 '26
Well you basically have to become more knowledgeable. But knowledge comes from actively thinking, not just reading or passive agreement.
You can't just read ai code and learn, you have to put some active thinking time in. Consider how you would do something, then ask the ai, then see how close your answer was. If they really differ work out why.
And you won't learn anything if you don't code itself. Write small functions, delete an ai chunk and rewrite it. Make sure you're actively engaged and not just aimlessly signing off on what the ai says.
1
u/ScorpSassy May 03 '26
Is there any online site i can get a reference to how to structure and what the inputs i need since I’ll still be using ai as basis but i also need a real life basis
2
u/hay_rich May 03 '26
As good process to follow even if you do just let the AI do most of the work is ask it why it picked something and then show you alternatives. Also treat AI assistants like a study partner. If you watch a video about a topic follow up by saying “ hey I watched this video what might it look like if we implemented it and what are the pros and cons”
1
u/ultra_blue May 03 '26
Is it possible to have the AI write your tests for you? Then code to the tests. The AI does the drudgery, and you get the glory of writing code.
I'm assuming you're writing to requirements, though. Which include descriptions of classes or other testable things. If that's not that case, maybe that's a good way to start?
1
u/nirmal247 May 04 '26
Make small tiny project. just practice and make it by your self. you will learn automatically by doing it
projects which can useful to current normal problem, this can be useful for your portfolio
1
u/arm14789 May 04 '26
I think the best way to avoid relying too much on tutorials or “vibe coding” is to focus on understanding how things work under the hood.
For me, what helped the most was building an MVC-style project completely from scratch, you can find good torials in web.
When you do everything manually like: routing, structure, data flow then you start to understand why modern frameworks are designed the way they are.
Once you really get those fundamentals, tutorials and AI become tools you use intentionally, instead of something you depend on.
1
u/MateusAzevedo May 04 '26
You learn, as every developer does.
You either practice and learn, or move to something else you know better.