3 ms·
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
by leafmeal 3y ago
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.
- plorkyeran 3y agoThe 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.
- LispSporks22 3y agoAs I recall the Go GC is a primitive 70s design as well. No idea if it still is.
- geodel 3y agoNo, it went back to 30s now.
- philosopher1234 3y agoGo interfaces are unique in that they are implicit. Duck typed, if you will. That is not present in Haskell.
- masklinn 3y agoThat is not unique, OCaml had structural (sub)typing in the 90s.