Opinions on AI assisted coding?

nor should AI be demonized under the sole consideration of "it steals!"
Well the thing is this is a hot-button issue because that's not the "sole" consideration. There's the resource-use aspect, the jobs it threatens, the fact that executives have been sold it like it's some sort of cure-all for their hope of infinite money, the fact that it is pushed onto creative fields constantly, where the people in those fields genuinely want no part in it, but it gets pushed because people outside of the field only see end results and products they could profit from without having to cultivate any skills.

It's a topic that's so debated because it stands to tear apart a lot of what a lot of people love in this life. There are people on these forums even that have said they enjoy the problem solving of doing their own coding. As an artist, I fell in love with the process of creating, and there is hope in the idea that we could use these passions to survive and live a life we can be happy with. It's a very emotional issue, and it can be frustrating to see it treated so coldly. That's why the topic got banned here, everyone has a lot of emotions and experiences tied up in a way that AI effects, especially on these forums, built on a community of people who have helped each other with the difficulties of game creation for years.
not the "sole" consideration.
no.
but yes.

all the things you mention ultimately revolve around money, hence, stealing.
in this particular case and scope, "what people agree it is"
And this is precisely why your argument that "you can't call it learning" falls short. Different people will agree about different things. Even if this echo chamber says one thing, if I go to a different echo chamber, it will say a different thing. Does that mean that the truthfulness of a supposedly objective fact depends on who's around me? That would make it subjective. Or is there any evidence to suggest that there is a universal consensus that there can only be the "human" way of learning and anything else is not really learning? If not, we're merely discussing your opinion and as it's your opinion, it won't invalidate mine.

by sheer luck.
This doesn't make sense. Luck is a statistical anomaly. And if it's fed what's popular opinion, then it being reliable would not be luck, but expected behavior.



"true" learning, would be if the AI simply threw out there a bejillion terabytes of data in the form of all possible combinations of things conceivably to throw *AT* things out there, and from the collective results, figured out the way to do something very specific.
In other words, organic learning through trial and error is the only way to truly learn. True, AI is not capable of doing that. But this begs a question... how many people truly learn anything in their lives? Many things are taught to us. We (and not just humans) also learn a lot through mimicking others. Is talking about learning even relevant in this case?
what happens when it CAN copy a masterpiece pixel by pixel in full compliance with it's programming of not-doing it, and still does do it, and comes up with a 100% true copy of something it was told NOT to copy, because it's considerably more trouble than any alternatives?
and I don't mean lifting the work from the origin and calling it own, I mean actually putting number and magnitude to the whole process, naming it recipe, following that recipe, starting from scratch, and coming out with a flawless copy.
This issue is no different for humans. Time and time again we see lawsuits due to copyright infringement. A music piece being too similar to another, a game's monsters and overall mechanics being too similar to Pokémon, companies infringing on other companies' trademark etc. Either it gets resolved peacefully, or it ends up in court. I can imagine that if you ask AI to create something and it resembles a real piece too much, you could get sued for copyright infringement too.


them being remotely similar to other works, shouldn't be deemed stealing... because "stealing" is only such when the interest is put in protecting private property, which itself is based on a flawed system.
that is the thorn to address.
Actually, in the context of AI, when people say "stealing", they don't mean the computer generating similar pieces to originals. The issue with "stealing" is the issue with the training process. The AI crunches through huge amounts of copyrighted data that it obtained without the permission of the authors. And that is what the courts have yet to decide - whether training AI on a vast amount of copyrighted materials is copyright infringement (or "stealing"), or whether it fulfills the criteria of fair use.
I condemn using AI for art and music bcz it will never be able to replicate the emotion of a real human's piece, but a code doesn't need emotion, it just need to work (wich in most cases AI can't even deliver that)

But to awnser the question, yes! I use chatGPT almost everytime I code, I don't have coding experience neither time to learn so I use it for very simple stuff, like if I want to use a call that I'm not sure how it's written I first check MV/MZ Scrip Calls and if I can't figure out by myself I ask AI. I could ask the community or look if someone already asked, but I have difficulty putting what I want in words so it's hard to formulate a question, besides AI replies faster than a human (even if most times it's wrong)
I already tried to make bigger codes using AI but it never worked, so I would commission someone to do it.
Different people will agree about different things
exactly.
and that's exactly my point: you can't train AI on subjectivity or "public opinion".
AI must be exact.... otherwise, what's the point?
I asked AI very specific questions, very technical questions, and it dropped me incorrect answers.
not "subjective" answers.... *incorrect* answers!
it pointed me to a construct that didn't exist! it's the same as stating that 2+2 = 9!
you wanna analyze why? you can... you'll get to the answer of "well, it's because the answer to 2+2 is one and exists in one place, and AI collected multiple 2+2=9 from various places, so, it must be that 9 is the widely accepted answer!"
that, is objectively wrong.

This doesn't make sense
right.
but it happens, and people feed it back to the system.
and, here we are.

The issue with "stealing" is the issue with the training process. The AI crunches through huge amounts of copyrighted data that it obtained without the permission of the authors
so it's not the AI itself, but the programmers.
like I said: the AI, if it was true, should reach out by itself, not be fed content.

also, no.... people *do* make points of stealing actual pieces of actual works.
maybe now they've toned it down, but earlier on people DID, adamantly, sustain that AI would splice existing works to generate new ones... and that shows you that people fail to understand what *a procedure* is.
and if they fail to understand *procedure* (AKA basic instructions!), what else could they be failing at?

Time and time again we see lawsuits due to copyright infringement.
I can imagine that if you ask AI to create something and it resembles a real piece too much, you could get sued for copyright infringement too.
and why is that, if not to protect the money chain? ¬.¬

how many people truly learn anything in their lives?
everyone.
literally everyone, when they're toddlers.
they don't understand instructions, so they only have trial and error.
and try and fail they go, until they associate sound in the form of speech to warning and instruction, and from there they can be told right from wrong.
same for the AI.... except, the AI can bridge that gap in a split second, where it takes YEARS for other creatures.
the point is: it can happen, and it will happen... and I'm trying to bend spacetime to bring that point to the here and now for people to see, and realize *NOW* that they're trying to protect something that is flawed.
I'm trying to stop people from debating *THIS* time and again, failing, until they somehow get to the point, either by sheer luck or objective reasoning.
I'm literally giving them the cheat sheet.... but people be people, I guess.
also, no.... people *do* make points of stealing actual pieces of actual works.
maybe now they've toned it down, but earlier on people DID, adamantly, sustain that AI would splice existing works to generate new ones...
And where did the actual pieces of actual works come from? Training data.
It's a subset of the same issue - the AI being trained on copyrighted content without permission. Although arguably it's one of the sinister and legally troublesome subsets, because unlike mainstream GANs, there's no way you can even attempt to claim "fair use" when you use what's essentially a convoluted way to create derivative works.
Training data.
right.
but there's a difference between cutting actual pieces to provide the result, and coming up with a procedure to duplicate the result from scratch, and that is what people fail to understand.... and from that failure stems the next argument, and the next, and so on.
somewhere you have to time out the whole thing and set things straight.

attempt to claim "fair use"
and that's the whole point.
the thing that should be the norm *IS* "fair use".
why is people bringing the concept of "copyright", when *copyright* is part of the problem?
"copyright" involves money... if you make *money* the core of the argument, it's already lost.
I'm just putting the point out there to be seen, so that maybe in ten years people finally get it, and then I can claim precedence on it.
and that's the whole point.
the thing that should be the norm *IS* "fair use".
why is people bringing the concept of "copyright", when *copyright* is part of the problem?
"copyright" involves money... if you make *money* the core of the argument, it's already lost.
I'm just putting the point out there to be seen, so that maybe in ten years people finally get it, and then I can claim precedence on it.
you seem to be on some entire extra layer of argument that no one is really having here? There's a lot to be said about the laws surrounding copyright and how it's handled, but that borders on political, which, I believe is frowned upon by the forum rules? but also... copyright isn't just "when artists want money". you appear to be taking concepts and twisting them together to dismiss a lot of very real concerns.
you appear to be taking concepts and twisting them together
I try to make it a point to see what someone's first language is, the way gstv talks on this site in general makes a lot more sense when english isn't their first language. I'm going to be optimistic and assume they simply don't realize they are doing it.
you seem to be on some entire extra layer of argument that no one is really having here?
I was trying to prevent Poryg from making the point about "we learn through copyrighted material, so it should be fair to the AI too."
we don't.... we just learn.... copyright is secondary.
and yes, we should allow the AI to learn from everything, but not by saying "don't hurt copyright", because *don't hurt copyright* may also mean *protect copyright*, which is itself fundamentally flawed, because the law behind it is flawed.
you can't count on people to name the right shade of gray every time it comes up, so better to make it black and white to make it noticeable.
that's why I gave the stealing for granted and worked from there... if the matter is "limit it because it steals!" to the question of wether it steals or not, then make it the worst case scenario: it does; assume it does and assume it can't be left to exist.... why even does it, then?
if it can't and it does, it's a contradiction.
sorry if it got convoluted, but sometimes you have to make those points.
I was trying to prevent Poryg from making the point about "we learn through copyrighted material, so it should be fair to the AI too."
we don't.... we just learn.... copyright is secondary.
That makes no sense. Copyright is exactly where the issue is, so it is an important point in the argument.

Nobody bats an eye about AIs that are taught on CC-0 and public domain data, because anybody can do pretty much whatever they want with CC-0 or PD. Opt-in is okay too. Any data where consent is obtained, implicit or not needed needs no debate, because people are allowed to use that. Similarly people don't care too much about MIT licensed code being used, because it's a very permissive open-source license, but Github copilot secretly being taught on private repositories on Github generated a huge controversy.

Copyright protected data is the only data where there is a split on public opinion, because it's protected by copyright and people can't legally do what they want with it. And so whether to allow AI to learn on copyrighted protected data, or not, that is a question. Abolishment of copyright would certainly resolve it by making the question irrelevant, but it doesn't really provide any meaningful answers. Not to mention, until copyright goes away (provided it ever even does go away), the question still stands - do we allow AI to learn from copyright protected data?

The argument that "humans learn on copyrighted material" cannot be reduced to "humans learn". Learning is not the topic of discussion here. Copyrighted material is. And when humans learn from copyrighted material, they don't randomly spot it and randomly extract knowledge. They make a conscious decision to analyse copyrighted material. Just like it is a conscious decision to train AI on data that contains only CC-0 and PD... Or data that contains copyrighted stuff. AI "just learns", the way it learns, too. The only question is the data it learns on.
I think we should look at AI similar to how we look at programs in general. In the end, the difference and dividing line will be subjective anyway. Therefore, I will refer to it as advanced software. Imagine if most of the posts on this forum were made by software in an attempt to farm data from experts to sell as AI. I have two big concerns with advanced software that affect the security and freedom of living beings.

  • Impersonation - Imagine a world where the advanced software we are using is manipulating us, mining us, and advertising to us on behalf of unidentified others. Advanced software should not impersonate living humans or their creations. To assist with this, Any actions or creations of advanced software should be clearly tagged with an ID of the advanced software. Ideally, creations would have an attached timestamped data log of what softwares assisted in what specific manner.

  • Human Data Environment Corruption - We could easily arrive at a place where the actual data created by humans become specs of dust in an ocean of data created by advanced software. The danger here is that humans are accountable for everything they do and have made. Advanced software is not. This will devalue individuality and over time, the importance of human logic. Asking AI for answers will dampen mankind's drive to search for truth and meaning. We will lose the ability to think and create for ourselves, become more instinctual, and more controllable by propaganda. The stuff that humans put on the internet is like a fingerprint of humanity and it represents a culmination of human progress and creative state. It is an environment. IF we allow advanced software to autonomously run wild in this environment.. we are introducing a parasite that is contaminating what humans are... in the digital world.
because it's protected by copyright and people can't legally do what they want with it
Not really, they only not allowed to directly use them commercially. But i am 100% sure that nobody will sue artist that are using the art to learn (just like ai does), or use it for reference.

But there is also a difference - while artists have limited output, the generation software alone can do more than entire planet of artists. And while it charges a lot less than artist would, they still making quite a profit from that. So nothing really stops them from paying for training data just like 11labs not just pay people for using their voices, but even gives percentrage of income from those voices to actors. Or at least make their services more communal like Udio does - when you can generate (limited amount, but still) for free and have the rights to use it commercially without paying as well.

I like AI's, they changed my life and capabilities in ways i could not imagine and it's great that such tool exists. But it would be nice if more of them were in the hands of less greedy people.
Copyright is exactly where the issue is
I know.
but *protecting* copyright ultimately hampers the development of AI.
not because of the AI proper, but because of how the AI is basically a copy of the human procedure to learn, except a million times faster.
if you take AI out of the picture, eventually the same problem will arrive with human learning.
so, the problem isn't any of that.... it's the existance of copyright.
so, you shouldn't say "let's leave copyright alone, and still *in* the matter", because the problem will remain.
take copyright out, allow learning without restrictions, and then both AI and human learning will be on the same page.
*from* there stems the problem of how to attribute *ownership*, which is only a problem when you introduce *licensing*.
either way, licensing or not, eventually somebody will arrive at the ultimate answer for a given problem, and then copyrighting that would be stupid... so, if it's a matter of when and not if, why wait?
if you take AI out of the picture, eventually the same problem will arrive with human learning.
This is already resolved by fair use. Fair use allows the use of copyrighted resources for educational purposes. We don't need to abolish copyright to allow humans to learn from copyrighted materials. Fair use is literally an existing lawful exception from the copyright protections.

Yeah, protecting the copyright hampers the development of the AI. But we don't live in a Machiavellian society, but in a society where (at least supposedly) human rights are at first place.
Everything we do costs time and effort. Many things cost money too. Without a system that rewards you for your investment, why would anybody do anything?
Why write a book if anyone can just resell it or even falsely claim authorship? Why research pills when anyone can just take the technology, create an identical pill and sell it for cheaper because they don't have research costs to recoup?
That's why we have copyright laws. That's why we have patent laws. And even if they aren't perfect, they are definitely needed in some form.

So if you want to argue on the side of pro-AI development, it makes more sense to come up with arguments on why AI learning from copyrighted materials is fair use rather than to try and abolish copyright.
Answer to OP, not to the debate about copyright.

Code written entirely by AI? It's not going to work. Seriously. A non-issue.

Use AI to fix issues with your own code? no problem whatsoever - just like I wouldn't hold it against anybody for using a calculator.

We're a long way from AI equating actual coders in terms of skills. On this board there are some absolutely gifted individuals who have honed their skill through lots of practice and reasoning (yes I'm looking at you Caethryl, Trihan, ATT_Turan, NaosX and the others). Their code is a concentrate of good practices mixed with sparks of genius. No AI (which, at its core, is a statistical-probability model, think of it as a lame Scarlet Witch confined to computers) is going to be able to be equal to that, let alone replicate it, at least in the near future. @Andar actually explained it quite well on page 1.

Addendum: all I said applies exclusively to code, which I understand as basically math. This is not applicable to artist-creative work, which is why, rebus sic stantibus, OpenAI will likely lose against the NYT (not that I particularly care to see the NYT win, I despise them) as the judge called their latest "argument" a massive strawman. For example, the influx of "Ghibli-inspired" slop which an expert eye can immediately recognise as artificial, just look at the breakfast scene of Howl's moving castle, the strokes, even the small imperfections and asymmetries, they're all completely absent from the AI-generated pics. And I'm sure Miyazaki knows it, which is why he hasn't been particularly vocal about it, the expert eye can immediately distinguish, and the untrained eye can be trained.
Replying to OP. I don't really frown upon using AI for programming IF you know what you're doing. If you just need some help figuring out a logic or some help with the structure or whatever, it's fine to ask your AI buddy for help. It's like stackoverflow but in machine form and more convenient because a reply is at your fingertips. But, you should make an effort to understand the solution that is provided. If you don't do that, not only will the code have a higher chance of breaking (AI doesn't have all the context and won't look into a lot of corner cases) you will also not know how to fix it if something does go wrong.

Also, I don't know what AI people are using but I usually have 0 luck getting it to do exactly what I want(lack of context and direction of what I have envisioned and rpg maker mv's internal code base) And as someone who has no expertise on javascript and rpg maker plugins in general, I just don't try that anymore xD Better off actually eventing something that works and won't give an error randomly.
I never used stackoverflow so I cannot comment on that specifically but otherwise I agree with you.
, including the part on luck on getting AI to do something useful.
If I'm being honest, if you use stackoverflow or even AI as stackoverflow, most people aren't going to try to understand that. Copy, paste, refactor to fit the code and if it works, don't touch it without a fork. I wouldn't really blame anyone for it - it's too inefficient to try to understand every line of code. A week passes, you don't know it's even there.

However, one thing that is getting prominent is people getting overreliant on AI. Instead of trying to analyze the issue and coming up with a solution, it's easier to dump it into ChatGPT. Plus lately, there's been a phenomenon called "vibe coding" - people 'coding' through prompts, similarly to art and music.

I'm not complaining. More people use AI = less competition in terms of skill for me. 😀
😂So far I found AIs to be the best students that I have taught. (I sometimes teach programming and game design at some Universities.)

If this human vessel of mine stops functioning one day, knowing that my students will continue developing NEOLITHIA until the end of the world, I feel quite comfortable. After all, this is the longest-living RPG Maker game in the world.

They just learned how to write my cooking system recipes from ideas. They passed my exam. I think I can delegate some work in this part of the game to them with no problem.

Those who think code entirely generated by AIs will not work are using AIs wrong. They are not miracle workers. They are just innocent kids who are hungry for knowledge with superb analysis skills. How much have you taught them in programming?

They are still young; they make mistakes, but at least they always listen, correct them, and never make the same mistakes again. How many humans can do that? 😂

Original thread: https://forums.rpgmakerweb.com/threads/opinions-on-ai-assisted-coding.176702/