1. Computing

Google Go Tutorial 9 Published On Interfaces

By December 1, 2012

Follow me on:

Interfaces can be tricky to understand for novice developers. I remember it took a while for the concept to click with me in the late 90s with interfaces in Delphi. In Google Go (aka Golang), there are no objects so interfaces are just a collection of methods. If the type implements those methods then it implements that interface, even without explicitly saying so.

In tutorial 9, I explain about them with a few examples. You can copy and paste them into Go Playground

Comments
Comments are closed for this post.
Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

©2014 About.com. All rights reserved.