this post was submitted on 15 Jun 2023
37 points (100.0% liked)

Programming

355 readers
1 users here now

This magazine is dedicated to discussions on programming languages, software development, and coding. Whether you are a beginner programmer or an experienced developer, this is the place for you. Here you can share your knowledge, ask questions, and engage in discussions on topics such as coding languages, software engineering, web development, and more. From the latest trends and frameworks to tips and tricks for debugging, this category covers a wide range of topics related to programming.

founded 1 year ago
 

How reliable is AI lke ChatGPT in giving you code that you request?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 6 points 1 year ago (1 children)

It is a conversational tool that can generate decent code if properly prompted but it lacks for the most part enough context. For it to be really useful it has to be able to be trained on my entire project that I'm working with, not just a single file or function.

What I miss is the ability to "chat with my project". I.e. have the whole project in the trained context, and then reason about architectural changes, pros and cons, have suggestions for refactoring, help with complex renaming schemes and moving code, etc.

It would be super interesting to be able to give instructions like:

  • Organise my files by dependency and the logic they implement.
  • Or something like, create web components from common input elements in my html pages.
  • Where is the user auth code implemented?

Things like that.

[โ€“] [email protected] 2 points 1 year ago

This would really be extremely helpful, absolutely agree. A mode with less of a view on the details of the code and more with the architecture of it. I wonder if an extension like Codeium could be extended so that only the method signatures and comments and such could be sent in as context so it can reason more generally about your project...