←back to thread

358 points maloga | 1 comments | | HN request time: 0s | source
Show context
kousthub ◴[] No.45006099[source]
Asking for information - Is Go/wasm doing something here which React/JavaScript cannot?
replies(2): >>45006126 #>>45006731 #
garbagepatch ◴[] No.45006126[source]
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.
replies(2): >>45006252 #>>45006266 #
1. furyofantares ◴[] No.45006266[source]
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.