|
|
|
|
|
by win311fwg
3 days ago
|
|
> Try asking it to do an DOM event adapter to filter and map events Why? While you can technically build a DOM event system in any language, you wouldn't, so this sounds like you are talking about Javascript (or Typescript, but same thing)... Which we already know LLMs cannot handle because the training data was full of poor quality code and thus LLMs also produce poor quality code. So, yes, you have to watch Javascript like a hawk here because the LLMs will go to crazy town if you don't pay attention. But that was already acknowledged. Perhaps you accidentally chose the wrong example? |
|
Second - it is very wrong to imply 'the AI has bad training data for JS / TS' - that's generally not how it works.
Third - the main point is not the code, it's information distillation as I suggested. It has nothing to do with the programming language. Yes - it might plausibly work better in some than others, but that's not the crux of the issue.
As to to your question the 'DOM event filtering' is just a good example because there are ambiguities in the problem space.
The spec is odd, browsers have different stated behaviours, different actual behaviours - this creates difficult problem space surface. It doesn't matter what 'la