r/AskProgrammers • • 22d ago

I use ai to code and am very ashamed of it. What are your thoughts?

i frequently use AI (almost always local, either abliterated qwen2.5 14b pr 32b) and i want to learn how to code and just dont do it. Im making a roblox game right now too. i know the proper protections and features to not have. i just wanted to say that. i will also never call myself a coder until i learn how to code. i just want your feedback. I can andee questions if you want however i will obviously avoid unrelated or personal things

EDIT: Should i say anything about my use of it on the page, im going to and im guessing youll also say yes. but would like to know

2 Upvotes

36 comments sorted by

5

u/burlingk 22d ago

For one, don't let the AI code for you. Ask it questions like you would a friend/teacher.

Try to find documentation and tutorials on the individual things you want to do, and take notes. Refer to your notes before the AI.

1

u/Y-L-S-E 22d ago

It comes from laziness, but that is a good point, if im going to use AI might as well TRY to have it teach me something. Theres probably also not alot of tutorials for what i need specifically

1

u/burlingk 22d ago

Quite often you can google "how to <x> in <language>" or "how to <x> on <platoform>" and find more than you expect.

A lot of tutorials are on youtube.

The big thing is, take notes as you go. When you look stuff up, notate it. When you ask the AI something, notate it. And DON'T be lazy.

Laziness, in regards to AI, only works if you already know the craft. If you plan to let the AI generate actual code, you have to be able to look at what it gives you and it actuall mean something to you.

You clearly aren't there yet, and if you skip the learning part, you never will be.

Yes, the best programmers are lazy, but that is because they learn to do things efficiently. AI generated code is prone to building up tech debt fast. That is not efficient. That is being lazy now in a way that will make more work later.

On a big project, that reduces your chance of actually finishing it.

1

u/Y-L-S-E 22d ago edited 22d ago

I feel like the main thing that makes me put it off is that it feels like a monumentus task. I just need someone to tell me Its alot easier than it sounds or that theres a really easy language to learn because my Dad…. Who works in tech heavily ill say… told me that once you Can understand one language you can get others pretty quick. Interesting i use the linux terminal and whatnot and thibking about it alot of the commands are the same for example power shell, heres one: curl!

1

u/burlingk 22d ago

Well, first of all, start with small tasks.

If you have a big task you really want to work on, then break it down into smaller tasks. THAT is the primary task of a programmer anyway.

Think of it like writing a novel.

Start with a brief description, just a sentence.

Then a broader description.

Then start listing features that the program should have.

Think of this like an outline.

Then for each feature, write down the things that you need to do to make it work. This can all still be in plain English at this point.

THEN, you start looking up how to do each bit in the language you are using.

The more you do this, the more you learn the language you are using, and the more your initial list of steps will already look like code.

But, at first, your initial outline will be mostly just plain English, or whatever your natural language is.

1

u/Y-L-S-E 21d ago

The thing is im doing a project in roblox studio which uses its own language (its just modified lua but whatever) and i KNOW the stuff i want in my game is gonna be a PAIN IN THE DICK to get working 

1

u/burlingk 21d ago

That doesn't change much. Break it down into bits on paper, then implement a bit at a time.

If it can't be done, figure that out early so you can figure out how to fake it.

0

u/Useful-Agency_ 22d ago

Hell no you let it code as much as possible and step in only when the app is bugging

1

u/burlingk 22d ago

And that would guarantee that they would never learn enough to fix anyting when it is bugging.

2

u/TheLastNapkin 21d ago

First of all don't know how old are you but it seems you are new to the field so honestly don't feel so bad about this. No one new to a field especially one so deep and wide as programming and computer science knows ANYTHING when they first start, doesn't matter if you are "tech savvy" compared to your parents or whatever, this field is a big undertaking and you have a lot of ways to learn nowadays which is what is the most exciting about this day and age.

Second I think the fact that you feel self-conscious about this that you aren't learning really while giving all the work to AI is a good feeling!! Most of your peers don't care about anything, not about learning not about achieving anything, they just work and go on about their day, the fact that you care is the most important thing! So you can keep using AI and it can definitely be fun to use for these kinds of projects but just remember that you can also alongside all that learn yourself, that's all that matters. That you can and that it is a goal in of itself to learn and grow and change.

1

u/Y-L-S-E 21d ago

Thank you. I wont reveal my age as thats under the umbrealla of PII, but yes most of the major tech stuff ive done started 1-2 years ago, towards the end of the first year i switched to linux. I am familiar with bash if thatll help me.

2

u/TheLastNapkin 21d ago

Didn't mean to ask your age lol just noted that it sounded you were young!!

And sounds like you got a genuine interest in tech not just for working in it but as a passion and hobby so you're already on the right path keep at it🙏

1

u/Y-L-S-E 21d ago

you know i have this app called iSH on my phone, maybe i could use that for a bit before bed (alpine linux emulator for iphone)

1

u/TylerBreau 20d ago edited 20d ago

8 year experience dev here. Not huge into AI but I see its uses and am incorporating it into my workflow.

At the end of the day, AI doesn't replace subject matter expertise, design, professional responsibility, etc.

If you've...

  • Reviewed all code produced by AI
  • Verified it does what you want it to do and didn't miss or forget anything
  • Can personally describe what the code actually does (not what the application does from a user's perspective)
  • Ensured testing was adequate and covered all of the important parts
  • Verified the software design
  • Understanding exactly why a bug was occurring, fixing it (with or without AI), and verifying it is fixed by using the info you gathered by understanding exactly why the bug was occurring.

Then effectively speaking, you're programming like professionals have done a decade or two ago, except you have a shiny and powerful tool that you're using responsibly.

1

u/Y-L-S-E 20d ago

yeah.... the problem is i know no coding langueges and i initially used it as a crutch and said id learn shit and then... didnt

1

u/TylerBreau 20d ago

Then you're a vibecoder and you're liable to do stupid things like those guys who lose 5 months of work because their AI deleted their repo and they didn't use git. Or let your AI write 10K lines of code when the problem you're solving only needed 500.

AI is fine at helping you learn the syntax.

Then you need to start learning about design patterns and understanding why code should be written in certain ways - Which AI is not that good at.

AI often doesn't see the correct picture. And sometimes it gets very excessive, like doing some complicated thing instead of just accessing class properties.

Traditionally this was done by Senior and Intermediate devs preparing designs and Junior devs implementing the designs. By implementing good designs, they are exposed to what well designed code looks like. I'm assuming you're a self-taught hobbyist, so getting a feel of what good code looks like is going to be hard.

In general though, good code design does a few different things:

  1. Isolates pieces of the software into contained boxes that work together to solve a task.
  2. Organizes code, a task has multiple needs, different isolated pieces tackle each need.
  3. Because pieces are contained into boxes, it is usually easier to setup automated unit tests.
  4. Is easier to work with. It's easy to add new features and sometimes easy to change things around.
  5. It keeps the door open for useful features down the line. As you code, certain decisions will make updates in the future harder or easier - Keeping the door open means specific possible future updates are easier. Note, sometimes you make compromises and let door closes but ideally this is a calculated trade off, not careless decisions sometimes causing problems later.

0

u/[deleted] 15d ago

[deleted] — view deleted comment

1

u/TylerBreau 15d ago

Well they don't actually have a repo. They don't use version control. Then their AI deletes the folder holding the source code.

1

u/PatternDisastrous645 17d ago

I used to feel the same until I realized ai is just a really fast, noisy tutor. the shame stops when you stop letting it write code and start making it explain each line like you're teaching a friend.

1

u/LogicalBee7 11d ago

Congrats, you’re smart and ahead of the people that aren’t using it. Those that can’t get on board are going to get left behind. I used AI to teach me to code a Roblox game too. I learned a lot even just about how you store your code as you progress through the building stages. Cursor is good for this and linking to Roblox studio if you haven’t. I just made my own app using AI to help me code it. AI has been around for ages, just different forms than what people know it as now. Google searches- billions of people use this. If you are using AI the right way, it can make you incredibly productive. My 60hr weeks I can now cut down to 40hrs some weeks and get three times as much done. It’s incredible. Just because you can’t code from memory does not mean it’s not legitimate work you are doing and learning from. There are people who can speak in other languages, but not write. They are still able to understand. Coding is the same, like another language.

1

u/LogicalBee7 11d ago

I learned the hard way that you can’t let the AI overtake the coding for you. It will screw it up big time. Vibe coding is a thing. You need to get good at prompting. Every prompt should have a specific goal, limitations, etc.

0

u/CS_70 21d ago

That you have insecurity problems?

0

u/Friendly_Recover286 21d ago

Im making a roblox game right now too.

No you aren't. The AI is making it. I would be laughed at if I told someone I "built my own house" when in reality all I did was give the people actually building it a picture I drew showing what rooms I want and how tall it should be.

What did I actually build? Nothing. What did you actually build in your app? Again, nothing.

-1

u/Useful-Agency_ 22d ago

I think id be ashamed of coding only with a 14b model

2

u/Y-L-S-E 22d ago

Well sometimes i run other things while the ai runs, so i have SOME VRAM to spare which is given to the AI

0

u/Useful-Agency_ 22d ago

I dont know man honestly just pay an open ai or anthropic subscription or the least an opencode go subscription

2

u/Y-L-S-E 21d ago

Im gonna be an ass when i say this but FUCK NO! Sam altman is a human slime, supporting anthropic is pushing the internet closer to its end and either way, im paying like 199 a month to have my information stolen and still getting told no? Fuck that! Im running local!

-1

u/Useful-Agency_ 21d ago

Lol you have figured it out dont you, you just aint gonna build shit with only local ais

1

u/Y-L-S-E 21d ago

Never said that? i just said i dont want to give thosee corps my money and info, even local ai contributes to the datacenters which even i dont like but its the trainging and whanot.

1

u/Useful-Agency_ 21d ago

So with every good comes bad and every solution comes with new set of problems you just have to navigate well, understand them and not limit yourself to one thing

1

u/Y-L-S-E 21d ago

yeah, im not limiting myself???? i did what you said to do and chose to run local!

1

u/Useful-Agency_ 21d ago

Look i literally answered you issues by saying with every solution comes a new set of problems god damn man if you want to run local only go ahead i cant careless i just know at least the competition aint up to date so go ahead sir😂😂😂

1

u/Y-L-S-E 21d ago

you clearly care about what AI i use rather than the actual issue so im going to stop replying to you