Jump to content
Ian Branch

AI in the IDE??

Recommended Posts

Hi Team,

I have had a small dabble with various AI machines, Meta, ChatGPT & Gemini.

None of them seem ready for prime time, yet.  Getting close.

I am seeking opinions of the use of one.any of the AI's in the IDE v keeping it separate via a browser?

If in the IDE is favoured, which interface/AI?

 

Regards,

Ian

 

Share this post


Link to post
23 hours ago, Ian Branch said:

I am seeking opinions of the use of one.any of the AI's in the IDE v keeping it separate via a browser?

I used ChatGPT a year ago. Then I heard about Claude and started using that with much better success so signed up for a web account.

 

Then Delphi 12.2 added AI, so I added that but mostly for testing and demo purposes. I haven't used it very much yet but it does work and is kinda slick to highlight some code and have it explain it to you. I plan to use the integrated Claude with a few projects I inherited in the near future.

 

So far, the web version is easier to use, partly because the interface in Delphi is brand new and doesn't dock well or remember it's position. You can drag-and-drop units to the web version and copy generated code so it's not difficult to use. I'm sure improvements are coming for AI integration in future versions of Delphi so my opinions may change.

Share this post


Link to post

Today I have - for the first time - used ChatGPT and then Claude in earnest. Everything before that was just testing. Actually I didn't expect this time to be of much help either, but it turned out that it was helpful up to a point. I have now got some code to give a the guy who applies for a Delphi position today to refactor, debug and explain. And then explain what's wrong with the "fixed" version of the code generated by ChatGPT. That's going to be interesting.

Edited by dummzeuch
  • Like 2
  • Haha 1

Share this post


Link to post

 

4 hours ago, dummzeuch said:

And then explain what's wrong with the "fixed" version of the code generated by ChatGPT. That's going to be interesting.

LOL! That's a great new use for AI coding--use the generated code as a challenge for others to figure out what's wrong!

Share this post


Link to post
31 minutes ago, corneliusdavid said:

 

LOL! That's a great new use for AI coding--use the generated code as a challenge for others to figure out what's wrong!

To be fair, I asked ChatGPT to generate faulty Delphi code to begin with and it not only gave that code but also immediately explained what is wrong with it and how to fix it. Just that the fix still was wrong.

Share this post


Link to post
Just now, dummzeuch said:

To be fair, I asked ChatGPT to generate faulty Delphi code ...

You could ask me too, thats cheaper :classic_biggrin:

Share this post


Link to post

Yes, but then I couldn't have claimed I use AI for that. 😉 

  • Haha 1
  • Confused 1

Share this post


Link to post
49 minutes ago, dummzeuch said:

Yes, but then I couldn't have claimed I use AI for that. 😉 

Aaaah, I see.  Its a new business model, using AI for writing poor code, that students will have to correct in their exams.

Thats how AI can be perfectly used, you will be incredible rich soon :classic_cheerleader:

Share this post


Link to post
1 hour ago, Rollo62 said:

you will be incredible rich soon :classic_cheerleader:

Unfortunately, I'm not morally depraved enough for that.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×