r/AskProgramming • u/QuotientParadox1 • Sep 06 '26
When is it Okay to Use AI
Hi, I'm trying to build an app in nextjs. I don't do and personally dislike frontend development and prefer to do backend development. Right now I'm trying to make the UI for the frontend but I don't know how to/absolutely hate having to develop the frontend. Right now I usually only use AI for debugging code, but I want to use it to vibe code the frontend knowing I have nobody else to work with. Is this okay?
0
Upvotes
2
u/Interesting-Bet-4036 Sep 06 '26
We dont have much context here, you are building an app for a client? Personal project? Learning something new?
Whether you use it or not it is your choice, just keep in mind that you are a 100% responsible for that code, you are the one that will asses if its bad or good, what architectural decisions you choose, what design patterns, etc…
I would say use AI 100% with being aware of the consequences of each commit.
1
u/CorpT Sep 06 '26
Who are you asking permission from? Why?
7
u/Lumpy-Notice8945 Sep 06 '26
You are 100% responsible.
I dont care if you produce your code by teaching a robot to carve it into stone or if you let your kid write it with crayons on the wall.
We had code generators for way longer, no one expects you to type out every variable name since autocomplete. LLMs are just another step in that line.
But whatever your AI generates, its you who commits that change not the AI.
And thats why its not a good way to learn to code but perfectly fine if you know what you do. If you have no way of validating the AIs output, how can you take responsiblity?
1
u/CapitalDiligent1676 Sep 06 '26
don't use next.js in the first place
1
u/Traditional-Hall-591 Sep 06 '26
When you will be fired if you don’t use it.
Or to write emails to a boss in AI psychosis.
1
u/yuehuang Sep 06 '26
Or you can ask someone else to vibe code it for you. make a new friend along the way.
1
u/Outrageous_Permit154 Sep 06 '26
I heavily use AI, but I still need to test and ensure everything sounds right. Having been a senior developer for nearly a decade, I’ve noticed that the actual workflow doesn’t significantly change when working with junior developers versus AI. Ultimately, you’re always fully responsible, even if AI is contributing. Ai makes PRs just like jrs do; you just do the same
1
u/GreshlyLuke Sep 06 '26
the goons downvoting you are coping. focusing on backend development is the way to make good frontend code. well-defined API schema, types, and the bulk of logic being performed in the backend is the way to enable frontend pages to serve their intended purpose.
If you understand your architecture and process then implement AI in between, you will ship much faster than if you just use it for debugging.
0
u/Patient-Midnight-664 Sep 06 '26
You can use AI whenever you want to.
0
u/Artonox Sep 06 '26
Just use it. Use it to learn and use it to get syntax and even use it to write up templates for you. If you don't know ask. Just learn as you use it and don't blindly take everything it gives you.
0
u/Rich-Engineer2670 Sep 06 '26
AI is just a tool -- not a religion. To say "Don't ever use AI" would be akin to saying "Don't ever look up something in a reference book". Use all the tools you want, but remember YOU are the author of the code, not the AI -- if you don't understand what it is doing, how can you validate and test it?
-3
u/MarkMatson6 Sep 06 '26
Is this okay??? Yes. Of course. I hate that is even a question. Do what you want.
-1
u/Dissentient Sep 06 '26
There's no AI police rounding up vibe coders. You can do whatever you want.
That being said, if you just prompt features without ever looking at the code, AI tends to produce spaghetti. If you want something that won't be an absolute pain to work with, you'll want to tell AI to review its own code and refactor regularly.
-5
u/capsaicinplease Sep 06 '26
This might be a weird take but I think “vibe coding” is going to be a skill we’re all gonna need to learn soon. So I think you’re absolutely right to not rely on AI as a crutch but this might also be a good chance to try it out. You can ask your model to explain every step and function and then debug yourself so you still have an understanding of what it built
1
u/[deleted] Sep 06 '26
[removed] — view removed comment