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

> Learning Go really reframed my concept of what an interface is, and I thought that using an empty interface to represent "any type" was kind of ingenious

There's a few other languages out there that work that way. The split is probably is probably 20/80. Though "popular" languages heavily learn towards Java-esque interfaces - with TypeScript and Go being the odd ones in that bunch.



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

Search: