Fun with OpenAI
Stefan Koch
uplink.coder at googlemail.com
Tue Dec 20 10:03:47 UTC 2022
On Tuesday, 20 December 2022 at 08:06:49 UTC, Walter Bright wrote:
> On 12/19/2022 7:53 PM, Steven Schveighoffer wrote:
>>> // Create an array with a capacity equal to the length
>>> of the string
>>> auto substrings = array!string(s.length);
>>
>> Not very correct ;)
>
> But it *looks* seductively plausible, yet has insidious errors.
>
> I predict that using AI generated code is going to result in
> strange problems.
I predict you will be correct ;)
More information about the Digitalmars-d
mailing list