My experience of experimenting with ChatGPT to build actual working code was meh. I'd asked it to do something very specific that as a human I knew how to do already, so that I could compare the response. The first response hallucinated methods in a module which did not exist. Upon informing the thing it responded with 'of course you're right.... here's a working solution' after which it proceeded to hallucinate another method in the same framework which again has never existed. I've had some success having it generate html/css for me, but it becomes very frustrating as it loses track of what it has been asked to do, starts missing things that it had previously made. The other day I read an interesting article about someone making a web app out of Graph::Easy & WebPerl, who decides to use 'Claude' to port the perl solution:

At this point I should have put final touches to the web app, shipped it and written this blog post. But I didn’t. I got greedy. One thing irked me. The WebPerl interpreter took a few seconds to initialise. “You know what?” I thought. “I bet Claude could do a good job simply porting the library over to a different language.” ......... And thus started a journey both fruitless and frustrating.


In reply to Re: What's your view on AI coding assistants? by marto
in thread What's your view on AI coding assistants? by Arunbear

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.