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

Maybe I'm misunderstanding here, but it sounds like he's claiming they invented "interfaces". The Go interfaces seem like the same thing as a Haskell typeclass which predates them by a long shot. Either way a great invention that should be in more languages.


The early days of Go appeared to be the work of a group of people who had not ventured out of their bubble in a very long time and were unaware of several decades of PL research, so it would be somewhat surprising if any of them knew what a typeclass was at the time.

This is significantly less true now.


As I recall the Go GC is a primitive 70s design as well. No idea if it still is.


No, it went back to 30s now.


Go interfaces are unique in that they are implicit. Duck typed, if you will. That is not present in Haskell.


That is not unique, OCaml had structural (sub)typing in the 90s.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: