Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
tiuPapa
· 8y ago · 0 comments
Use typescript or flow if you want types.
Comments
[–]
JupiterMoon
8y ago
Now we are compiling (sorry transpiling). If we are going to do that why not use e.g. Go?
[–]
jrs95
8y ago
Technically transpiling is just a more specific kind of compiling, so you’re not wrong in saying compiling.
[–]
Franciscouzo
8y ago
What's your point? All interpreted languages have to be compiled anyway, you have to create an AST, convert it to bytecode, and then interpret it or JIT it.
[–]
tiuPapa
OP
8y ago
Because I want to use JS with types and compiler rather than runtime error? If you are using Go, why not use Rust?
[–]
Can_Not
8y ago
It takes 5 minutes to set that up. No reasonable person is going to switch languages for that reason.