logoalt Hacker News

skybriantoday at 5:48 PM1 replyview on HN

Can't really argue with that, but In my experience, coding agents work quite well with TypeScript too. :)


Replies

radicalriddlertoday at 7:20 PM

The issue I always had with Typescript, was that LLM's like to find the easiest way to get a job done on a micro level (they seem to like to find the hardest design patterns to implement on the macro level tho, but language agnostic). What this means for Typescript, is unless you place guardrails everywhere, they'll cast their way out of a compiler problem with as any, or as unknown and then casting later. You either end up with readability issues, or runtime issues leaking out.

Might be a skill issue, but I got frustrated with it on new projects constantly.