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

What does "structure" even mean ? How or why are models so much easier in Go compared to other languages ?
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.