People who has "TypeScript" and "Agentic Development" as skills are so sus! If you really are a TS dev, you know TS code generated by LLMs is horrible.
@loucyx I’ve never had the displeasure of seeing LLM-generated TS code. Is it much worse than most LLM generated code?

@LandoDev there’s a bunch of reasons why TS generated by LLMs isn’t good:

1. Good TS is JS with types only where the compiler can’t infer them. LLMs don’t understand what’s inferrable and what isn’t, so they tend to over-type.
2. LLMs don’t understand how TS changes depending on your tsconfig.json, so they generate code without considering level of strictness of the current project, for example.
3. The average TS code out there is not very good, and LLMs are trained on it.

Etc, etc

@loucyx Ahhh yeah that makes a lot of sense. I consider myself pretty experienced in TypeScript, so I can totally see that all creating the perfect storm for bad LLM training.

It probably doesn’t help that humans - even good programmers - often aren’t very good at gradual type systems in other languages too. E.g. I’ve seen otherwise knowledgeable Python developers stumble using even basic type annotations like null. It’s a tragedy lmao

@LandoDev yup, I’ve been writing TypeScript for almost 14 years (using it since october of 2012), and I’ve seen plenty of people struggle with it, but LLMs do more harm than good because the way they work makes them a bad match for TS 🙃