Re:Introducing TypeChat from Microsoft
by zarzavat on Friday July 21, 2023 @12:08AM
(#36809884)
It’s like the story of the brown M&Ms[0]. If the model is returning semantically correct data, you would hope that it can at least get the syntax correct. And if it can’t then you ought to throw the response away anyway.
Also I believe that such a method cannot capture the full complexity of TypeScript types.
Re:Introducing TypeChat from Microsoft
by tonyonodi on Friday July 21, 2023 @05:54AM
(#36811964)
That's a great analogy! I'd been wondering for a while whether that's a problem with this approach; to be honest I still don't know whether it is, so it would be good to see someone test it empirically.
Also I believe that such a method cannot capture the full complexity of TypeScript types.
[0] https://www.snopes.com/fact-check/brown-out/