▲ | garbagepatch 4 days ago | |
The front end is still react. But I'd be curious to know if LLM's are less prone to errors generating code for strongly typed languages over others like Javascript. | ||
▲ | furyofantares 4 days ago | parent | next [-] | |
From experience: A static type system is MUCH better for agents than dynamic. I've done a few projects both ways - the agent is just much, much better with the static system because it sees compile errors right away, and also has access to better static analysis tools. I don't know how much the types themselves help the LLM, it's better context but more tokens, but the agent seeing errors is just a huge difference. It's also much easier for you as a developer to digest the code if you need to refactor because you got lazy and accepted some slop. | ||
▲ | adastra22 4 days ago | parent | prev [-] | |
In my experience, a massive YES. At least with agenetic models that have an iteration loop, and in languages like Rust where the type system is strong enough to prevent categories of bugs. |