r/ChatGPTCoding • u/RICHLAD17 • Nov 11 '24
Discussion Full AI coding not there yet for us non-coders
Title. Wish microsoft / google would pick up on this. Even using Cline + Claude latest gives bandaid / jumbled code for a little bit of complex work and it loops and cant solve it. It is what it is I guess, i just hope it would be available for non coders like me in my lifetime.
7
u/rageling Nov 11 '24
Prompt engineering goes a long way. Particularly with debugging, if you tell it to add excessive print debugging to help it understand whats going wrong and it can see that console output, it closes the loop on it fixing and iterating the code effectively. I noticed that's mainly what I was doing as a coder to fix broken gpt code, so I removed myself from that step.
1
2
u/evanthebouncy Nov 11 '24
oh? tell me more. is the workflow mostly like:
ask gpt to write code
it makes a bunch of bugs
ask it that it has bugs, and ask it to add print statements to its code (using interpreter output as context)
gpt adds these print statements
we add the enriched interpreter output as context for gpt
repeat until debugged ?
31
Nov 11 '24
•
I’m not trying to discourage you, but generally speaking, trying to do a lot in one field without having knowledge of it will always be an unattainable fantasy (imagine trying to do an electrical product without understanding the difference between volts and amperes), no matter what companies try to sell you. I come from one of the two aforementioned companies. Coding isn’t easy, it’s called 'code' for a reason, and debugging is the hardest part of coding in general and also the most prevalent in this field. I suggest you invest in learning computer science, not JS nor a specific language. Also, no need to be a master of coding or computers, just enough to know how to navigate and understand the difference between a linter and compiler/interpreter errors may help. I wish you luck and you’re on a platform hosting many subreddits that can offer help and feedback if needed :)
1
u/SadPhone8067 Nov 11 '24
I want to play devils advocate a bit and say that I can watch videos on certain topics that can help me understand how to do something. Such as rewiring an outlet or changing my oil. I am by no means an electrical engineer or mechanic but watching a simple video can give me enough to do the project. I will agree that coding IMO is much more complex then those two examples and I did give some pretty simple examples at that. I will agree that I don’t believe it will ever be 100% but even if a no code site got me to 90-95 % of my dream website I’d be happy. I’ve tried a couple of the no code websites , using apis, and cursor and many other platforms to try and build what I could not and it worked somewhat well but the biggest issue was context for me. I also had issues with it rewriting code that was perfectly fine and it would change it to try and fix something even though that was the part that was working perfectly fine. My other issue was it would make what I want but would take multiple hours to try and figure out/debug as I have no experience but I did learn a lot and was happy that I tried it.
1
Nov 12 '24
That's why I advised him to not be a master. Knowing the difference between a linter and a compiler is a CS50 level. The same can be achieved via YouTube videos. I urged him to learn CS, not to be a computer scientist
3
u/gaspoweredcat Nov 11 '24
you really only need to learn a little to start getting fully working code together and once you start doing it itll become easier and easier. its worth putting in the effort
2
u/RICHLAD17 Nov 11 '24
define "a little" because i have around 6 months of javascript experience and i can read code, however if i run eslint on my AI nextjs one pager with admin ecom dashboard its full of errors and it keeps looping on the routing aspect
0
1
Nov 11 '24
[removed] — view removed comment
1
u/AutoModerator Nov 11 '24
Sorry, your submission has been removed due to inadequate account karma.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
4
u/Helmi74 Nov 11 '24
It works just fine for me as a non-coder. But you need to have some knowledge of product/project management, know the tech you're using and be able to spot possible problems. If "non-coder" for you means "know nothing tech at all" then you're right.
Prompt engineering is the most overrated thing from my POV right now. For me it's basically "talk to a human" style prompting and i'm absolutely fine with it. Still didn't see any prompt magic but i'm happy for anyone to proof me wrong.
2
u/wiggitywoogly Nov 11 '24
This doesn’t work though. You are better off giving it exact instructions for what you are looking to do. I use Perplexity AI free pro prompts to generate detailed prompts and play with those to get better results.
1
Nov 12 '24
[removed] — view removed comment
1
u/AutoModerator Nov 12 '24
Sorry, your submission has been removed due to inadequate account karma.
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/deltadeep Nov 11 '24
If it were, then coders would be out of jobs, and an entire industry would completely evaporate. We're not, it hasn't, so, there you go. AI hasn't replaced any high-level knowledge worker jobs *yet.*
2
u/TheGreaT1803 Nov 11 '24
Man, it's tough to think of people learning to code right now, with an existing AI that's technically better than them.
On one hand it's such a useful tool, irreplaceable in my workflow. But on the other hand the countless hours I spent debugging some issues, and reading documentation, learning from people who were clearly way above my skill level, was invaluable. You can't get that from an AI.
I'm not sure what to think of AI being used by non-coders, because as a coder myself, I can say that AI is good only if you know what you're doing, or you'll spend more time struggling with it than you will save.
I would add that even if 70% of my code could by "written" by AI, only 10% of it would actually be "engineered" by the AI, if that makes sense
2
u/webdev-dreamer Nov 11 '24
But on the other hand the countless hours I spent debugging some issues, and reading documentation, learning from people who were clearly way above my skill level, was invaluable.
Same lol. I'm not very smart, and it took me a while for coding to "click" (make sense) for me. This was after a long time of doing learning and studying. The lessons learned were invaluable, and I cherish my "aha" moments that I had after dealing with a difficult bug or concept
I'm not sure what to think of AI being used by non-coders, because as a coder myself, I can say that AI is good only if you know what you're doing, or you'll spend more time struggling with it than you will save.
Agreed. Even if AI can spit out awesome code, one really needs to put in the time and effort to understand it or know how to use it. Especially the "engineering" part of it like you mentioned
2
u/littleboymark Nov 11 '24
It totally is. Non-coder here doing incredible things. My latest project is a raymarched sci-fi portal shader using seamless voronoi 3d textures, which I make with a separate tool. It's highly performant and looks amazing. All with Cursor.
1
u/StonedApeDudeMan Nov 12 '24
Using cursor to achieve amazing things too knowing close to no code. Very tech efficient, know computers well enough from my days of PC gaming, but very little coding. I'm not sure what to make of this thread? The new Claude Sonnet 3.5 + Cursor is insane...
1
u/Dysopian Nov 11 '24
I'm using ChatGPT and Claude to create courses to help me learn python and it's soo much better than YouTube tutorials and books alone. I have watched plenty of YouTube videos and have read a book to get a base knowledge beforehand.
Using AI gives me a personal one to one mentor and personalised courses based on my knowledge, skill level, neuro type and the projects it creates align with my interests. If you are really wanting to start coding just jump in otherwise you can sit around waiting for AI to be able to do it all for you.
2
1
u/moog500_nz Nov 11 '24
Try replit.ai - as a non-coder it is helped me build solid prototypes in days.
1
u/jkboa1997 Nov 11 '24
You don't have to be coder to get good code from LLM's You do need to have some solid basic understanding and engineering abilities. Understand variables, conditionals, loops, and functions, and you will get much better output. Be very specific and provide current info such as API's etc. to the model. Create guardrails for the LLM to work within. Always instruct the LLM to document the code. This makes things so much easier to be able to issolated something that isn't working. Use modular programming whenever possible. This makes things far easier to read and deal with innnevitable issues.
KISS
1
u/Renan_Cleyson Nov 11 '24 edited Nov 11 '24
Even with a "Full AI coding" you would still need to have technical knowledge to develop. The only thing that would change is the "programming language" which would become Natural Language I guess. The thought process is the most important part of coding and that wouldn't change even if you have an AI to do it for you, so it's useless for non programmers anyway. Not sure if non coders is the same as non programmers for you but I can't see why you wouldn't think like that considering your text.
1
1
u/LocoMod Nov 11 '24
You need to have domain knowledge in order to know how to frame the problem. AI is best leveraged by professionals in whatever knowledge domain they already have. You need to know the acronyms, buzzwords, manner of speaking, etc.
“Garbage in, garbage out.”
You have to learn how to communicate in that problem domain so the LLM understands you. Imagine a 5 year old trying to describe or formulate the proper question compared to an expert.
You need to put in the time and effort to gain proficiency and solve problems on your own, and then the AI can augment the work you already produce.
I see many projects generated by a novice with the use of AI. It works. They promote next hot SaaS here. But there is a difference writing software for a single user and software meant to scale to thousands. This is the type of domain knowledge that will make or break the code.
Coding is mostly thinking in systems. Thinking like an engineer. Taking something and breaking it into fundamental parts. Taking those parts and building a whole. Learning the syntax and putting something together is the least important part.
1
u/dhamaniasad Nov 12 '24
It really is not. I’m a software engineer by profession, and I use AI tools heavily to make my job easier / faster / better.
I’ve experimented with AI coding agents like Replit Agent, only with small toy apps. One of these apps I’ve been using regularly, and just yesterday, I commanded it to change a columns max length in the database, and my eyes bulged out as I saw it execute a DROP TABLE command, in real time, while I sat helplessly knowing there’s nothing I could do. It deleted all the data in my database happily.
These are the risks for non coders using AI coding tools. They don’t even need an agent to auto execute wrong things for them, because they don’t know how to distinguish right from wrong and probably will never learn that.
1
u/uNki23 Nov 12 '24
Try to invest some of your time in learning how to code. Understand the fundamentals and then use LLMs as tools and not as a programmer-replacement.
1
1
0
0
u/BlueHueys Nov 11 '24
If you don’t know hot to Code - AI coding will never be useful
It’s like thinking because you have a graphing calculator you don’t need to learn math or the equations that make it work
0
0
0
u/tossaway109202 Nov 11 '24
Good. I'm horrified of the security holes "non-coders" are going to set loose in the wild.
0
u/dry-considerations Nov 12 '24
It's in the pipeline. Just wait. Dev work will be a commodity...and for many instances, it already is with near and offshoring.
Word to the wise: don't go into development. Those days are dwindling fast.
0
u/AssistanceLeather513 Nov 12 '24
Spoken like a true non-coder.
0
u/dry-considerations Nov 12 '24
Totally non coder. Way too smart to fall into that line of work.
0
u/AssistanceLeather513 Nov 12 '24
Then you don't know what you're talking about.
0
u/dry-considerations Nov 12 '24
Not true. You know nothing about me or my work experience. It is YOU who doesn't know what they're talking about.
0
u/Aplixs Nov 25 '25
I agree the AI coding part is still messy, especially for non coders. That said tools like blink.new. are getting pretty close to that dream. I’ve been able to take ideas and turn them into actual working apps without writing code myself. It kind of feels like the early version of what you’re wishing Google or Microsoft would build someday.
-5
-2
u/tazdraperm Nov 11 '24
Ofcourse. Same as AI art is a thrash unless you have actuall art skills to edit it or use as reference. The only thing AI is currently actually good at is working with plain text. Like translating, copywriting, etc
-2
Nov 11 '24
Dude, first off all, if you have no actual skills, you have no chance in this game. And i'm glad you don't, because you don't deserve it. Go learn how to code, first off all. Second, even if you could create something meaningful just with AI, you will always lose the race, because at the same time you're creating your little project nobody will give a shit about, some high level programmer is also using AI to create something you will never be able to do.
If it's easy to do, it's not worth doing it. You dig?
1
Nov 11 '24
[removed] — view removed comment
1
u/AutoModerator Nov 11 '24
Sorry, your submission has been removed due to inadequate account karma.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
Nov 11 '24
[removed] — view removed comment
1
u/AutoModerator Nov 11 '24
Sorry, your submission has been removed due to inadequate account karma.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
Feb 14 '25
[removed] — view removed comment
1
u/AutoModerator Feb 14 '25
Sorry, your submission has been removed due to inadequate account karma.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
30
u/fredkzk Nov 11 '24
To use ai coding, you first need to prepare the groundwork with a detailed knowledge base, a user stories doc, and a conventions doc. Feed those docs to the ai as context and build iteratively. Check Coding the future with AI by Tim kitchens on YouTube for guidance.