r/ChatGPTCoding • • 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.

0 Upvotes

69 comments sorted by

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.

3

u/RICHLAD17 Nov 11 '24

thanks, ill check it

1

u/MouthOfIronOfficial Nov 11 '24

That guy has like 100 views. Am I looking at the right page?

1

u/fredkzk Nov 11 '24

More like 1000+ views. 4k+ subscribers. Only started this summer. Very actionable and practical advices. No stupid “you can build a todo list by following my tutorials “.

1

u/anaem1c Nov 11 '24

I did all of that but it isn’t solving the issue of one bud that breaks other part of the product. As a non-techie it is extremely hard to fix.

3

u/fredkzk Nov 11 '24 edited Nov 12 '24

You have a few options to address that:

  • change ai model.

  • test with Diff or Whole edit mode (a powerful option with aider).

  • make sure your files are not too large. If so, ask ai to carry out a code refactor.

  • be more specific in your prompt if you can track what’s to be changed/added and where. Hence the importance of commenting every code block and inserting error handling + console logs where a function is to be fired up.

3

u/MatlowAI Nov 11 '24

Putting detailed requirements at the top of the files and instructing the llm to preserve comments and requirement in the code is such an important underrated thing... I also have it keep track of bugs it has fixed because if not it will do it again somewhere else. I've been using Cody which has been handy for the price since it makes it easy to pull files into context with a mention and is unlimited tokens monthly.

1

u/anaem1c Nov 11 '24

Thanks all of those are truly gems and I’ll try to implement those practices. I also tried working with other AI app builders like Pythagora and it also failed.

My take is the AI should have some AI code reviewer agent that “sees” the holistic view of the product and the app and checks that this code change doesn’t “break the internet”. In more simple form as a non-tech person I want to make sure I can tell it to add feature to one page and not to worry about 3 other flows being broken, or at least those issues brought to my attention.

2

u/fredkzk Nov 11 '24

Aider kind of offers that with its architect mode. This mode involves two AI models. One powerful enough to understand well your project and prompts and acts as a manager and another AI model, weaker, that’s just here to execute the plan of the manager architect with pure code generation.

2

u/wiggitywoogly Nov 11 '24

The difference is that a developer with experience will feed it a massive prompt at the start that lays everything out that they want it to do. I have prompts for Python, C# and JS that tell it follow specific style guidelines, code best practices, and always give the entirety of the code that I need to work on.

1

u/anaem1c Nov 12 '24

Not arguing with you in any way, but I lay massive prompts as well. Although I don’t add many tech things devs may know to add. That may be the issue. Also if you have some blog or other source where you share this information I’d love to read it.

0

u/Illustrious-Many-782 Nov 11 '24

In my new project, I set up API and conventions documentation before doing anything else. Before any task, I ask it to read the Todo and any relevant documentation for the next task.

It often just ignores that guidance.

1

u/fredkzk Nov 11 '24

Cline or aider don’t ignore the context if they’re well laid out and content is relevant to the doc in question. The knowledge base, user stories and conventions take me over a week to prepare and fine tune.

1

u/Flabbaghosted Nov 11 '24

Any examples?

1

u/fredkzk Nov 12 '24

Reddit won't let me paste a 223-line document. You can ask chatGPT to draft them based on a chapter describing your project.

A good starter guide: yt-series-part-3-prompts.md

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

u/RICHLAD17 Nov 11 '24

I will look into better prompt engineering / heavy debugging, thanks!

2

u/evanthebouncy Nov 11 '24

oh? tell me more. is the workflow mostly like:

  1. ask gpt to write code

  2. it makes a bunch of bugs

  3. ask it that it has bugs, and ask it to add print statements to its code (using interpreter output as context)

  4. gpt adds these print statements

  5. we add the enriched interpreter output as context for gpt

  6. repeat until debugged ?

31

u/[deleted] Nov 11 '24 • Heart of Silver

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

u/[deleted] 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

u/[deleted] Nov 11 '24

[deleted]

2

u/ogaat Nov 11 '24

Understanding that too needs coding experience

1

u/[deleted] 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

u/[deleted] 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.

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

u/[deleted] Nov 11 '24

try deepseek or the coder space on hugging face. the latter is phenomenal

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

u/[deleted] Nov 11 '24

Maybe it never will be.

1

u/garloid64 Nov 11 '24

thank god

0

u/Jdonavan Nov 11 '24

Yeah no kidding. Something anyone could discover with a tiny bit of research.

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

u/halfanothersdozen Nov 11 '24

That is not and never will be what these tools are for

0

u/valkon_gr Nov 11 '24

Of course it's not there, that would be a trillion dollar company.

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

u/AssistanceLeather513 Nov 11 '24

You don't say... Hopefully it's never easy for non-coders.

-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

u/[deleted] 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

u/[deleted] 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

u/[deleted] 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

u/[deleted] 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.