Continuation of `Having "blessed" 3rd party libraries may make D more popular` DIP thread

jmh530 john.michael.hall at gmail.com
Thu Jul 10 17:44:50 UTC 2025


On Thursday, 10 July 2025 at 16:13:18 UTC, Lance Bachmeier wrote:
> [snip]
>
> Until recently, I never understood how to write my own ranges 
> that could be used like this: `foreach(index, value; myrange)`. 
> It is a great example of using LLMs the right way. It wrote a 
> short block of code. I then had no choice but to fully 
> understand everything in the block so I could fix the bug. 
> Another thing is interacting with DLLs on Windows.

Yeah, those are good use cases. How to implement something like 
opApply or deal with DLLs on Windows is probably going to be in 
the training set (or close enough that it can be helpful). I'm 
not saying never use it, but I would say that it's been mostly a 
waste of time to try to get it to give me the right answer after 
it was wrong initially.


More information about the Digitalmars-d mailing list