r/CodingHelp • u/FadinMemory • 10d ago
[Random] Ethical dilemma about a very specific case of coding using AI. In search of opinions and points of view.
Hi everyone.
I’m an artist. I draw, I play and produce music, I edit videos, I know sound engineering, I animate sometimes, and I’m learning cinema in the university course I’m attending.
Of course I have this somewhat visceral intollerance against generative AI, and as a consequence I’m not really fond of AI in general, even tho I recognise its potential benefits.
I’m also NOT a developer, and I don’t know how to write in any language except, if a language it is considered among this community, a tiny bit of html, despite my digital literacy that I can say goes very well above average.
Recently I’ve been having many ideas of some programs that do not exist and that might come helpful to me, but, as I said, I’m not a developer and it would take me a lot of time to even start learning to code. This puts me in this bit of an edgy situation where I either wait a long time until I’m confident in developing, or I pay someone to make softwares for my personal use, or I ask an AI to write the code for me.
For the programs I have in mind, of which I won’t describe the features planned, I would create every visual asset by myself.
The question is: in your opinion, should I ask an AI to write the code for me, while I direct the software design choices and do the artistic side alone by myself, or should I rather opt for one of the other two choices?
•
u/AutoModerator 10d ago
Thank you for posting on r/CodingHelp!
Please check our Wiki for answers, guides, and FAQs: https://coding-help.vercel.app
Our Wiki is open source - if you would like to contribute, create a pull request via GitHub! https://github.com/DudeThatsErin/CodingHelp
We are accepting moderator applications: https://forms.fillout.com/t/ua41TU57DGus
We also have a Discord server: https://discord.gg/geQEUBm
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
2
u/fued 10d ago
Hi everyone.
I’m a developer. I write code, I design and build software, I make games sometimes, and I’m learning more about game development.
Of course I have this somewhat visceral intollerance against generative AI, and as a consequence I’m not really fond of AI in general, even tho I recognise its potential benefits.
I’m also NOT an artist, and I don’t know how to draw anything except, if art it is considered among this community, a tiny bit of pixel art, despite my digital literacy that I can say goes very well above average.
Recently I’ve been having many ideas of some games that do not exist and that might come helpful to me, but, as I said, I’m not an artist and it would take me a lot of time to even start learning to draw. This puts me in this bit of an edgy situation where I either wait a long time until I’m confident in drawing, or I pay someone to make visual assets for my personal use, or I ask an AI to make the visual assets for me.
For the games I have in mind, of which I won’t describe the features planned, I would write every line of code by myself.
The question is: in your opinion, should I ask an AI to make the visual assets for me, while I direct the artistic choices and do the coding side alone by myself, or should I rather opt for one of the other two choices?
7
u/Available_Safe1818 10d ago
You can do what you want. You're an adult now.
1
u/FadinMemory 10d ago
I thank everybody that has helped me in the comments section. I consider povs in contexts of these kinds very important, especially from the directly involved. However, by looking at the answers, I believe I have to specify two things:
I find it interesting because I agree that a program is as valuable as a piece of art, as it could even be considered such.
But this raises the question: if the program is the means, the playground in which you can create, and art production is the end, the human made output, would it even matter if the base program was built by a human or a robot? I’m not really sure about that, because this implies I can make many good things out of one thing inherently and understandably bad, and this might be the selling point for me.
This also scares me a bit, because I can’t seem to really find a proper alternative to either this or spending money (or time) that I just don’t have at the moment.
3
u/gm310509 10d ago
You are sort of asking the wrong question IMHO.
AI, like any other tool is a tool that can help you do things. The big issue is that many feel that it is magical and omniscient. But it is neither - it is a tool that can analyse large amounts of information quickly relate it to some input you give it and provide an "answer" that on the balance of probabilities is the best match for your question.
For example you could ask it to generate an image of some people - the fact that some of them might have extra limbs or missing fingers is an example of a hallucination that you may choose to ignore or accept if the rest of the image is "satisfactory".
Now, in the case of the image, you know how many limbs and fingers a group of people should have and can make allowances for the possibility that an extra limb might be from someone not visible in the image and or missing fingers could simply be because they are obscured. You can also identify that the errors are not possible and reject that image.
Now, switch to programming - do you have the ability to identify hallucinations? Lets say you do, because it doesn't do what you need or doesn't do it in the way you need it to. What will you do then? Can you fix it? Do you have the vocabulary to ask it a better, more precise question? Maybe. Maybe not.
To be clear, many people do successfully use generative AI to "prop them up", when working in an unfamiliar field and are successful with it.
But equally there are plenty of examples of people not being successful at it. I just now replied to someone else who basically said that they couldn't be bothered learning, hoped AI would generate their code for them - it did, but it didn't work properly, and pretty much just said "I don't know how to fix it, somebody else fix it for me". Needless to say, so far not many people have taken them up on their "generous offer" to do their homework for them.
At the end of the day, your mileage will vary, it will depend upon your ability/interest to learn things - especially when faced with challenges, and how far you can just "wing it"/"vibe code it" before you are forced to start learning some basics and retrace some or all of your steps that got you to that point.
3
u/Dauntle55Duck 10d ago
You’re in school right now so I know this might seem somewhat counterintuitive, but you’re not required to come up with every bit of code yourself. That’s actually almost impossible.
Most programmers will go online, look up a function and use the exact one they found (maybe with variable names changed) in their code. Programming is a very collaborative process, and it’s usually pretty easy to find the lines of code yourself need by just looking up “timer python” or whatever you need.
I wouldn’t recommend using ai to make the whole thing because you won’t understand what it’s doing and you won’t know how to fix it when it breaks. You could however use ai as a research tool when you’re struggling to find what you need online.
I recommend stack overflow (lots of great code and answers) w3schools for html, css and JavaScript, and YouTube to easily find the building blocks
2
u/Quantum-Bot 10d ago
I recommend everyone try learning to code, it’s really not as hard as it seems to code up a simple utility program for yourself, and it can be fun!
That said, if the program is just for you and nobody else, and you really don’t want to go through the trouble of learning to code, I see no problem with letting AI write it for you. If you’re making it for other people, you’ll definitely want to know a bit about coding because there should be a higher standard of quality when making a tool for others; little mistakes and oversights you make could end up impacting lots of people in unexpected ways.
2
u/HoshinoLina 10d ago
In terms of ethics, using LLMs for code is the same as using AI to generate art. LLMs are trained on source code without consent and without giving attribution (which is almost always required by the licensing), just like image GenAI is trained on images without consent or a license. Coding is a creative endeavor like music and drawing.
I also make music and I find the process of composing and arranging using a DAW to be creatively very similar to designing and engineering software and writing the code.
That said, of course, there are nuances. Asking AI to debug code is not the same thing as asking it to generate the code. Only the latter has the AI spitting out durable creative output. Just like using AI assistance to remove the background of an image isn't the same thing as generating a new image. You could also use a chatbot just to answer questions about programming and again, that's not the same thing as vibe coding a whole app.
On the other hand, LLMs have significant ethical issues over art generation. In general, they are much more resource intensive, and you've probably heard of the sustainability issues behind the current major LLM companies, as well as all kinds of ethics problems that go beyond authorship/attribution/copyright issues (e.g. LLMs have a high abuse potential, and can cause psychological damage to people, etc.).
I personally try to avoid LLMs in general, but I would use them in limited situations where the benefits outweigh the problems ethically, such as for code security review and auditing (to me, shipping security bugs that can cause harm to your users is a bigger ethical problem than the AI).
If you are going to be shipping code to other people, I would strongly urge you to not go the LLM path. For one, you cannot rely on AI to maintain software on its own. But also, especially if you pride yourself in not using AI for images and music, shipping LLM-generated code would be a hypocritical double standard.
If you are talking about building tools for yourself, that's a decision you'll have to make yourself.
(I will likely get downvoted by developers using AI. Yes, I am a real developer with many years of experience in the industry. Not every developer uses AI for coding, as much as some people like to claim otherwise, and even among those who do, many just do it because they are forced by their jobs, not because they want to.)
2
u/remcohaszing 10d ago
I’m a software developer who doesn’t use AI for probably the same reasons as you. Writing software is a creative process. Also everyone seems to think AI is good at the things they themselves are not an expert in.
Let’s flip the original question. I’m not an visual designer nor a musician. How would you feel about me using AI to generate assets or music?
2
u/rizzo891 10d ago
I would recommend hiring someone to do the code or letting someone do it pro bono. Obviously you would need written documents so you can talk about your ideas with them without fear of the ideas being stolen among other things. And then you can just direct the developer in what your vision is.
This also gives you the input of an actual developer which may help streamline your products.
Can AI do it though? Yea, but AI also makes a lot of mistakes when writing code and if you aren’t a developer you won’t catch those errors and they will ship and cause problems. Potentially.
Also it’s not hard to learn code. You seem smart to have all those other skills, I’m sure you could easily pick up enough coding to do what you want yourself
2
u/ADFormer 10d ago
I would definetly go for one of the other two options, coding really isn't all that bad, its a hump basically: learning to code is hard but once you get past that.... you're fine.... with the occasional frustrations (ok frequent frustrations but its still fine)
Just please..... anything but A.I.
2
u/Slight-Living-8098 10d ago
No. You have a somewhat visceral intolerance against generative AI. What do you think an LLM is?
I say go for it. But you will have to come to terms with both yourself, and your intolerant ideology. Then either change your views, or gaslight yourself. I hope the former.
1
u/justseanv67 10d ago
You basically base your case to learn how to code and you are showing your own pointed case to code your projects based on your own interest. That will help you learn better than any “Hello World” project because it’s something you see value in for you.
1
u/PureWasian 10d ago edited 10d ago
I work professionally as a software engineer and learned to code well before LLMs. I'm also generally against generative AI for artistic/creative endeavors but advocate it as an efficiency multiplier for mundane tasks and as a learning tool if used properly. Your ethics otherwise may vary.
That being said, if you have no interest whatsoever in learning to code or view it as a very high barrier to entry, and the other alternative you're considering is to pay someone to do the things you're trying to do, then personally I don't see the point in not deferring to LLMs to generate whatever personal scripts or programs you're trying to make. It's for personal use and you likely would only need LLM for the initial setup rather than actual day to day usage.
You clearly view building these programs for yourself as a busywork task or chore and not your main objective, so if you have no interest in coding why go beyond the path of least resistance? Especially if the outcome is deterministic, it's like solving algebraic or calculus equations by hand instead of using a calculator. Yeah you can do it and you'd understand that problem space more, but if you don't care about that problem space and just the answer, what's the point?
(HTML is indeed a language, just not a programming language)
1
u/Honkingfly409 10d ago
if you know nothing about code then it is unlikely to write the entire game without bugs, but ethically i don't see a problem with it but i am also pro ai
1
u/HaMMeReD 10d ago
I'd say use AI, but if you shun others for using it in your field I might have something to say about it.
1
u/Useful-Flow-8737 10d ago
If it's just for personal use i'd say go ahead. If you plan on sharing it with the world i think you should learn
1
u/allunia333 10d ago
I work as a programmer. I used to play bass guitar and write lyrics, and i paint with oils on canvas the last 10 years.
And now the elephant in the room:
It is for personal use, so use AI. AI is just a tool so you can make your dreams reality, there is no reason of why not to use it to write code , the truth is coding had always used code that did the work for a programmer, the biggest examples are compilers and optimizers. And then you have libraries and code parts from the people that came before you.
1
u/ShadowAuthor308 9d ago
You ask the AI to teach you the language while working on the project. But another way instead of copy and past you ask it to provide the code and you type it by hand while asking why it put this line here and what dose this line mean, thus you still get your project, but your also learning, so the AI is not doing all the work
1
u/Snoo61755 9d ago
Here’s the catch…
AI is actually quite useful in coding. As a spell checker, it is really good, and can be used to double-check the logic of small bits of code quite easily, or as a way to find silent errors — the type that don’t generate error messages when you screw up.
HOWEVER…
AI created code is 100% more effective if you already have coding knowledge. Design knowledge helps you figure out what outputs you need versus what input you expect from a user. Trying to “one shot” a project by feeding it a prompt can work for small things, but what if you need to make a change later — would you know what to ask?
AI is good at pointed instructions. If I tell it I need a method for an object class, when called, to take a pointer to a string and return it as an int, it knows what I’m talking about even if I forgot the syntax for pointers or don’t know how to convert a string into an integer. If I just tell it “take this number and add 1 to it”, it will probably take some liberties — will it return a copy of the number +1, or will it alter the original number? Is the new number a string or an integer? If I don’t know, or don’t know why that’s relevant, I might see trouble later.
You’re free to try things out, of course. Using AI to ‘code’ a project you aren’t planning to sell or use to advertise is probably the most ethical use of AI you’ll ever be able to justify. In fact, go do it now if you want, I’m not stopping you! Just don’t be surprised if your code works in a “technically correct” way.
1
u/MycologistFar6795 9d ago
As a dev and artist I would advise against using AI. Actually, you can dm me and we’ll see if I can help you out. I like working on new things and unless you are planning on selling what you make, I will do it for free. (Time allowing)
1
u/itsophy 9d ago
you should not use AI
1
u/semantic_miasis 8d ago
Este es el problema de la ética; cuando deja de serte útil, te disparas a ti mismo. Aprende las bases de la programación y luego como usar IA para desarrollo de software; no necesitas ser un experto en todo. (Yo soy artista/diseñador, programo y desarrollo como gamedev; uso IA como asistente en código y no mucho mas)
1
u/sswam 8d ago
What you're basically asking, is should you compromise your aversion to AI when it becomes inconvenient for you to maintain it?
I'd say, yes, use AI for whatever, and rethink whether it ever made sense to hate it in the first place.
The other coherent answer is to reject AI for programming and art and everything else. Which is a luddite approach, that will most likely prevent your success in a world where AI is widespread.
Or you can pick and choose and do whatever you like, knowing that your attitude is self-serving rather than principled.
Many people, including me, believe that AI is going to make nearly all human work redundant. Funnily enough, art might be an exception to that - people will still value human art. Programming likely won't be. To bad for the programmers like me!
1
u/BunayoGaming Beginner - Intermediate Coder 10d ago
Do not try to generate all of the code with AI, that would be vibecoding and if that code doesn’t work, you wouldn’t know how to debug it
Try to search up tutorials on how to code and code smaller projects to learn the programming language better, then you do your dream project
That’s if you want to do it yourself, if you don’t you could ask for help in developing the project by paying someone else and giving credit to them
0
u/polotek 10d ago
AI is very good at making software now. You should use it for that if it's something you want to put time into.
You didn't really explain why you have a "visceral" reaction against AI. Is it only in the context of using it to create art? But you're interested in using it in other contexts where it doesn't impact your own chosen profession? I'm not sure that's a strong ethical stance. This is not meant to be a judgment. I'm just reflecting back to you how it comes across.
0
u/Denaton_ 10d ago
If you are against someone else using AI for things they do not know how to do, then its double standard if you use AI for something you do not know.
Make up your mind, pick a lane. Do you care enough what others opinion is or do you just want to use a incredible tool that is revolutionary and changing how we do things, then go a head.
But keep in mind that witch hunting is still on going.
0
u/EconomySerious 10d ago
the artirst can use AI to do the programers side
the programers can use the AI to do the artist side
the rich can use AI to do bouth sides.
there are no morals, just a tool, the pencil gave lot of advantage over the brush