Y
Hacker News
new
|
ask
|
show
|
jobs
by
angrysaki
20 days ago
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
1 comments
MiroslavPokorny
20 days ago
What does "structure" even mean ? How or why are models so much easier in Go compared to other languages ?
link
mrsmrtss
20 days 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.
link
afavour
20 days ago
https://github.com/microsoft/typescript-go/discussions/411
link