Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
angrysaki
· 3w ago · 0 comments
Yes, it's because the structure of the existing codebase for the typescript compiler matched go better. (There's a blogpost about it somewhere)
edit: I think it was considered, but go was a better fit
Comments
[–]
MiroslavPokorny
3w ago
What does "structure" even mean ? How or why are models so much easier in Go compared to other languages ?
[–]
mrsmrtss
3w ago
Go models aren't easier, but the existing TypeScript codebase leaned heavily toward structural types, which made it a better match for Go and at least initially made porting easier for them.
[–]
afavour
3w ago
https://github.com/microsoft/typescript-go/discussions/411