How Effectively Agents Write D
user1234
user1234 at 12.de
Sat Nov 14 13:55:19 UTC 2026
On Saturday, 14 November 2026 at 03:50:15 UTC, strawberry9 wrote:
> On Saturday, 7 November 2026 at 19:48:54 UTC, Walter Bright
> wrote:
>> On 11/7/2026 3:46 AM, Dejan Lekic wrote:
>>> It does make sense for LLMs, but I prefer the default
>>> behaviour - to exit early on the first error, and fix issues
>>> one, by one until everything works again. Sure your approach
>>> is fine too, i suppose it is just a matter of "taste"
>>> (different people different way of work).
>>
>> Both are valid approaches.
>>
>> My experience with "show all the errors at once" is most of
>> them just show facets of the same bug. Fix the first one and
>> most of the rest are resolved along with it.
>>
>> Besides, I have a very small brain, and am unable to deal with
>> multiple bugs at the same time.
>
> Just because you are limited by your brain, shouldn't mean AI
> needs to be limited by your brain.
>
> My AI made a very clear preference to me, that it prefers to
> see the first 10 errors, and the last line showing how many
> more errors are left after those.
>
> D will need to quickly adapt to AI use if it wants to remain
> relevant.
There's an option to limit the amount of messages displayed.
Under the hood the problem (personnal opinion will follow) is
that this is related to what Bright called AST poisoning (that's
been mentionned during a talk a few years ago). Should a
front-end poison, after an error, every sub-expression, with an
Error type (that's the Terror discriminant in D front-end IIRC)
or should it stop directly.
More information about the Digitalmars-d
mailing list