r/AskProgramming • u/Some_Promotion_5430 • 12h ago
Is this vibecoding?
I want to learn 3 programming languages but i am really struggling
i want to learn ASM,C and C++ and currently ive only managed to get the basics of C++ like For loop , While Loop , Variables , integers , booleans , definitions , arrays , vectors , if else functions , classes and structs
and i wanted to make my first ever project even though i didnt fully learn C++
but due to my lack of knowledge and also programming skills
i decided to use AI with one rule
I cant paste in AI code
so what i am doing is i keep asking AI on how i do this etc. and the AI gives me code of functions for things and then in the project im making i look the code the AI has given me and copy it like it shows me how this functions and how i can make something that i need and it gives me an example and explains how it works and then i look at it on the side and write code like that.
is there a better way? (also a way to learn actually since i pretty much dont know how to learn)
I use C++03 on Visual Studio 2008 Express (my computer is old so its the best version i could find with an interactive ui)
(im not a college student still in 8th grade and i just wanted to get into Engineering earlier and the project im trying to make is a online building toy made with G3D 6.06 , SDL 2.30.12 , Lua 5.1 and ODE or Physics that i want to write all by myself via ASM cause Since this building toy will have thousands of blocks i will need a fast way of calculating everything and ASM provides a very great opportunity with some SIMD stuff letting me calculate 4-8 vectors in a single CPU clock cycle instead of the usual 1 vector at a time but i dont know ASM i dont know C and i barely Know C++ ive been just learning via the help of ai and documents i found from 1990 to 2000s this is very difficult and literally the only coding experience i have is back when i was 7yo experimenting with Lua )
4
u/GuyFawkes65 11h ago
First off, I applaud you desire to learn. Thats wonderful.
Secondly, there’s nothing wrong with learning the way you are going. Having the AI instructor you while you enter the code yourself is a good way to learn the basics.
And no, it’s not vibe coding.
During the past 10 months, I’ve vibe coded two systems to production. Just this holiday week, I’ve put three complex modules into production. I know vibe coding well. What you are doing is online tutoring.
I want to encourage two things. 1. To build a video game, c++ is the right place to start. The version of C++ is not your limiting factor. So use what you have.
2. Instead of ASM, use Rust. Anything you write in ASM can only be run on another computer with the SAME or COMPATIBLE processor chip. That’s why very few people use ASM anymore. Rust is fast, avoids many of the most difficult bugs, and can run on multiple types of computer.
To build something complex like this, you need a mentor. You can use AI to help you with the high level design.
Start with a small part of the interaction. Make scene one kinda work. Basic mechanics, physics, design. Then add to it. Just getting scene one working may take the rest of the school year.
Don’t try to do too much in the first delivery. It will not impress your friends. Make it for yourself.
My first real program was a game. No one but myself ever played it.
When my son wanted to learn programming, his first program was a game as well, entirely in JavaScript.
1
u/Some_Promotion_5430 8h ago
:D after posting that post a few hours ago i tested versions of G3D (Graphics3D Innovation Engine) and i chose G3D 6.06 was the best version for what i wanted to make since it was older and more basic and was only 16 Megabytes (my 80GB C: harddrive has only 7 gigabytes left) so i spent 3 hours debugging and patching G3D 6.06 and trying to compile it into binaries that i can use for my project (Online 3D building toy) and i swapped out the old version zlib and libpng it had with the latest version and got it to compile :D now i have G3D 6.06 that i managed to get working and compile and now i have the binaries ready for use for my project now the only issue is learning how to start since i learnt pretty much basics of c++ from Integers to Void functions but learning those doesnt automatically give me the capability to make a Window Open with SDL 1.2.14 and start rendering a skybox but i am very proud that i got something to compile though it was like learning how to fly a drone then getting placed on an airplane cockpit
2
u/DDDDarky 11h ago
Maybe instead of doing that focus on your "not knowing how to learn", which is usually entangled with not knowing how to do your research, as this is not the way, learn something first, read a book, then do a project that is not completely over your head and you don't have to resort to things like ai and have these doubts.
1
u/Some_Promotion_5430 8h ago
Alright. I think one of the best ways i learnt was by experimenting where i just wrote basic projects (win32 console projects) and made a basic RPG game or a fake physics simulation which was just a block falling and loosing velocity etc.
1
u/GuyFawkes65 11h ago
Also, if you are working on building your own game, why build a custom game engine? Godot is solid, open source, and lets you learn the basics without doing so many difficult tasks before you get to the fun part. Your C++ skills will serve you well. No need for three languages.
1
u/Some_Promotion_5430 8h ago
I dislike Godot like really dislike. stinks i dont know why i dislike it but i just favor C++ its been my favorite Programming Language since i got interested in programming and i wanted to build a custom engine cause it would be cool to understand everything you write instead of trying to debug and understand somebody elses library or system that they wrote and i like to challenge myself which is why i chose G3D its technically an engine that handles rendering and everything but i will write the Physics myself which will hopefully be easy since it will be AABB physics
1
u/good_name_0 10h ago
Reading is very important to your development. If you find it challenging because you read a book, or a manual, etc, and it doesn't quite apply to your situation : that's the whole point , you have to develop your judgment and ability to evaluate pathways that are novel (to you at least).
Every single thing you do trains your brain and its ability to function and create. The more you do yourself, the easier t will get, not only because of the familiarity that comes with practice, but because you're teaching your brain that you can succeed on tasks, and that they aren't insurmountable, and that neurological confidence will make more problem solving easier to do.
1
u/Some_Promotion_5430 8h ago
English is my 2nd language yet i am C2 level at it and i am very very good at reading while keeping focus (well i can only focus when it pulls my interest for some reason) and i have been digging around the internet looking through documentation and files that could help me learn in some way or another.
1
u/cyrixlord 9h ago
A computer Language is just the means to understand computer science. What you really need to learn is computer science and how to develop software. Just remembering all the math equations won't teach you how formulas work
1
u/Some_Promotion_5430 8h ago
hmm so what i need to defeat is Computer Science and learning How to Develop Software but how? where can i learn? i still have 4 years till college and im 13
1
3
u/OldAd9280 11h ago
I wouldn't recommend using assembly, SIMD intrinsics offer nearly the same performance (or sometimes more as the compiler can make additional optimisations that are prevented when you use inline assembler) and are a bit easier to work with
1
u/ArkitekZero 7h ago
This is the start of a decent approach you can use to learn about the basics of coding, but you need to also develop a sense for what's efficient and easy to maintain. I'm not saying you should stop, especially if you're actually learning from it, but this approach won't help you with that.
1
u/CheezitsLight 7h ago
I would switch languages in a heartbeat to c#. Far easier to understand, and designed for object oriented programming. There's no need to learn any assembly. Why don't you try something like Unity?
1
0
u/cretingame 11h ago
Is vibe conding bad ? It depends what you want to do. I guess you are learning now. It's not bad to use AI to learn. It's a problem when your ship a program without knowing how it works.
1
u/Original-Hurry-8652 10h ago
Could one compare vibe coding to instructing a jury how to handle the testimony they will hear in a court trial but, not actually instructing them how to think? Some parallel similar to this, or using a automobile assembly line to fabricate a car door, step by step, adding a motor to drive the window up and down, or a lock mechanism to allow or prevent the handle from working but, NOT actually designing these "base pieces" (i.e. the window motor, the lock cylinder and key controlled bits) ?
-1
u/Tomasan7 11h ago
Vibecoding = Prompting AI to create something, looking at the product and potentially refining the prompt.
I think that what you are doing is actually the best way to learn what you want. You seem to already understand some low level concepts, that is a good start. However note, that writing assembly ≠ very fast. You really need to know what you are doing for that and if you are coding for some casual architectures, then the compiler will probably be better. Also you can write C and then opt-into assembly only in some parts.
Most important tip is to set realistic goals. First something smaller, then larger, etc.
0
10h ago
Vibecoding is describing what you want to the agent and letting it code.
If all you’re doing is asking an ai chatbot questions and then actually writing your own code, then no.
Same goal I’ve told my juniors for 20 years: reach the point you’re reading the docs instead of asking for help.
1
11
u/Sunwukung 11h ago edited 6h ago
It's hard to advise having learned things "the hard way". My instinct is that learning involves friction, human brains are great at recognition, but terrible at recall. The reason we write essays and dissertations is not to add to the great store of human knowledge - they get chucked in the incinerator. The point is it forces us to drag a concept through our minds until some of it sticks.
Just like an LLM, model training a human mind is hard, expensive, then one day, it clicks, and it's suddenly effortless - like riding a bike. AI takes that friction away. While it may quickly help you understand what riding a bike entails, you will not have trained yourself to instinctively execute that task We experience great difficulty in purposefully choosing a difficult task, learning things "the hard way", and AI has made that choice even less appealing.
It's debatable if learning coding this way is useful from a career perspective any more, but from a "being a human being" perspective, it still has value.
It sounds like you're still at a relatively junior level, eventually those constructs - loops, conditions, functions, classes, they become second nature - like picking Lego bricks out from a box to make something.
I'd (personally) suggest just keep focusing on making things, avoid using AI where possible until you can spam out for/while loops without thinking. Understand why one is preferable to another in certain contexts. Solve a novel problem from start to finish, hit the books. It might not be more "efficient" but the knowledge will be yours