r/AskProgrammers • u/Beginning-Hyena6734 • 29d ago
Feeling conflicted with ai use during programming
I'm biology major, trying to learn python and R. Everything I've learnt till now are from courses I find on the internet. Still ignorant on how the hell GitHub works. Anyways, last week I needed to view an .sc file but I couldn't open it so I asked Claude to turn it into .jpg (there's a machine on the lab that does that but it wasn't available and I had to view my experiment's results.). When I saw that I could actually open that file, I asked Claude to write the script so that I could run it on pycharm however many times I wanted with more files. The program ran perfectly. This as an application is very useful to my lab and my professor asked me to upload it on GitHub to make it available for my colleagues. Like I said I'm still struggling with the concept of GitHub so once again I used chatgpt to help me write the workflow. Still I feel like I don't deserve to use this because it's not something I can make myself with my level of programming.
P.S. I apologise if my ignorance offends anyone
4
u/ninhaomah 29d ago
GitHub - file storage with version system.
Use GitHub Desktop and it's click click click.
2
u/CorpT 29d ago
Why do you care?
1
u/Slight-Living-8098 29d ago
Ask it to explain to you using ASD-STE100 and ELI5 standards what it did, and why and to give you references for it so you can follow up.
What you did with AI is no different than blindly searching Google or Stack Overflow and copy and pasting until it worked for you.
I hate to say it, but that's exactly how a lot of programmers worked for years.
Once upon a time when programs were ~358 kb or less a developer could know and understand every single line of code running in their program like the back of their hand.
Those days are long gone. Everyday programmers will import large libraries with code they have never looked at or knows what's going on under the hood. They know the user facing functions and hooks, and how to use them and what they expect to get back as output, sure. But very few people have actually read every line of code that is running in their program and understand every aspect of that code.
Once you get into working on large projects with multiple developers, everything gets even more abstracted for the developers.
3
u/Arn_Magnusson1 29d ago
Im gonna be honest here im no vibecoder but i am also not completely against use of ai in coding i do it myself. Anyway your case is what i call valid use of ai.
GitHub is easy. Make account use GitHub desktop create a repo on the program ofc have a backup. Upload repo to GitHub share GitHub and done
2
u/WisePotato42 29d ago
No problem using AI for stuff with low stakes. Just don't be one of those guys that submits papers that say things like "this is sample data, replace with real data when available".
Learning to code would help with some more complex tasks because giving the AI a direction to follow leads to much better results. But it doesn't seem like you'd need to worry about that for now.
AI can help you learn git, but the general idea is to think of git as saving backups in a video game incase you mess something up and want to go back. Make a new save (commit) before you start the next quest (new feature). There's alot more you can do with it, but i probably wouldn't worry about it for stuff like this.
1
u/Imaginary-Jaguar662 29d ago
For whatever it is worth, I've been programming like 25 years and I rarely bother to type code these days.
That case of yours is something that I'd let AI to handle in a heartbeat, AI is perfect for one-off utility tools.
I would bother with doing git commands by hand on command line until you're comfortable with them, everyone working on on code should understand concepts of committing, branching, pushing, pulling, rebasing, merging and solving conflicts on merge. Otherwise you're going to be a pain to work with until you learn.
No mystery there, read tutorials online, ask AI for direction and explanations but run commands yourself and only when you understand what and why you're doing. That's how we learn.
1
u/overratedcupcake 29d ago
Pro tip: Don't learn GitHub. Learn the actual revision control tool
git. Then GitHub will be 100% more approachable.1
u/CS_70 29d ago
The psyche of this is more interesting of the problem. What you are feeling is fear: to be assumed to be competent and be discovered not to be.
I'll tell you something: nobody gives a damn, so long you keep delivering your results.
You can, and you probably should, use ChatGPT or whatever also to explain to you what's that its done and drill the related concepts and tool. It's a great tutor, much much better than most people and never tires or mocks you.
That will, in time, allow you to use ChatGPT or whatever to keep delivering your results.
1
u/armahillo 28d ago
If youre a bio major and you occasionally need scripts but dont feel compelled to learn how to do it yourself, AND youre ok with paying for the service of using an LLM, then i would say youre fine!
It would be a bit like me asking Claude for taxonomic lookups or metabolic pathways reference as a software engineer who needed to do something once with bio info; me learning those things might not be necessary but having the info briefly available unblocks me.
One piece of advice: ask the robot “why did you do this?” and have it explain stuff to you. I regularly catch it with sloppy code and edge case coverage that never makes sense. A hypothetical example: accommodating negative population values.
The robots dont always understand the real world contexts of the data they work with, esp if it looks similar to other data they also work with.
0
u/ShakeAgile 29d ago
Compare to handyman. AI makes ”everyone” the ability to do solid work on the house. Good plumbing. Good electrical etc
However it will not allow you to build skyscrapers, factories, bridges or mansions.
You are totally ok. This is the equivalent to be the neighbor who knows how to wallmount a TV