Skip to content
gqlxj1987's Blog
Go back

Golang Interface

Edit page

在面向对象的编程中,a protocal or interface is a common means for unrelated objects to communicate with each other

why do we use interfaces?

interface need runtime checks

The bigger the interface, the weaker the abstraction

abstract data type


Edit page
Share this post on:

Previous Post
ClusterFS纠错码设计
Next Post
Constructors In Go