News for hackers. Stuff that matters.
Re:Go Replaces Interface{} with 'Any' by chmod775 on Wednesday December 15, 2021 @05:46AM (#29564189)
> 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.

There are no comments on this comment yet.