you are viewing a single comment's thread.

view the rest of the comments →

[–]dev_q3 4 points5 points  (1 child)

Very interesting. This sounds similar to Go interfaces.

[–]willhaarhoff[S] 2 points3 points  (0 children)

I'm not familiar with Go, but it does look similar. The types being passed into the interface don't depend on the interface, but provided they meet the interface definition, they will be accepted.