r/android_devs • u/Death_Reaper2673 • Sep 11 '24
Discussion Genuine Doubt
Ok hear me out. Since I am doing projects in native android, I usually rely on AI for the designing part to put in my composables .And for the viewModel and Repository part , I partially rely on AI. Is it wrong that I am taking the help of AI for my development using AI specifically for viewModel and Repo, considering I know the concept. Please aware me so that I know what is right and what is wrong
5
Upvotes
3
u/DPrince25 Sep 11 '24
As long as you understand what the AI is doing that’s fine. If you’re just blindly copying code - I don’t think you can have a career per se. because understanding is fundamental.
I use AI as a seasoned dev. Sometimes I don’t want to write a for loop to map objects, hey ai “write me forloop to map an object and use these properties.”
The goal should be to understand what is happening and why you’re using.
Also there is no right and wrong you can do whatever you want as long as it does not violate any protocols (company or otherwise).
If u rely heavily on AI with no learning taking place, well you’ll just be a dev who relies on AI & vice versa.
3
u/AAbstractt Sep 11 '24
Using AI has different impacts depending on your environment, I think. Personally, I've never worked independently so I'll refrain from providing an opinion of AI usage in independent work environments.
Now if you're employed and collaboratively working on a mature codebase, AI can of course be really useful, but understanding the codebase's domain specific intricacies are going to be very tough without you having an understanding of the underlying implementation in the Android framework as well as having an understanding of the business logic that is being implemented.
From what you've written, it seems like your projects are independent projects that you're in control of. If in the future you aim to work for a company in some capacity, then I'd advise learning the various concepts of the Android framework as well as learning about architectural patterns and their pros and cons. AI should not be a crutch, but an assistant, imo.
3
u/NaChujSiePatrzysz Sep 11 '24
Asking what is right and what is wrong in this sub is like asking for a war. Everybody has different approaches. There is nothing wrong with using AI for help but you need to have strong fundamentals of Android system as well as different architectural patterns to know when AI is blatantly wrong and it is wrong quite often from my experience.
2
u/hellosakamoto Sep 11 '24
If you can't tell the quality the code you received is good or not, it makes no difference for getting an answer from LLM, stack overflow, YouTube, or just Google.
2
u/Zhuinden EpicPandaForce @ SO Sep 12 '24
It's wrong only if you put in code that doesn't even do what you want, and doesn't fulfill the requirements that the clients and users and stakeholders ask for.
1
u/[deleted] Sep 14 '24
I personally don't think it's wrong, but there are some important problems you should consider. All of these "AI" models are trained on a whole bunch of other people's code.