| ▲ | closewith 8 months ago | |||||||
The question is which LLM, invoked how? Claude Code refactored numerous projects for us into TS, often one-shotting it. Saying LLMs don't understand TS (which may be true, in that LLMs questionably understand anything) says more about your perception than model and agent abilities. | ||||||||
| ▲ | camdenreslink 8 months ago | parent | next [-] | |||||||
I have also had a really hard time getting Claude and Gemini to create valid TypeScript in somewhat complex legacy projects. Sometimes it will do the most kludgey things to sort of make it work (things a human developer would never consider acceptable). | ||||||||
| ▲ | dbbk 8 months ago | parent | prev [-] | |||||||
Right, LLMs don't understand TS, because they're not integrated with it. When they come across something they don't know, they just start hallucinating, and don't even verify if it's actually valid (because they can't) | ||||||||
| ||||||||