Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> so it's not a type safe language if they use anonymous struct everywhere

It's compile-time checked. The example shows a compile time error when the struct fields are not completed by the anonymous struct



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: