Performance Zone is brought to you in partnership with:

Steve is the Chief Solutions Architect at 10gen where he is responsible for the user experience of MongoDB including drivers, integrations, web & docs and evangelism. Steve previously has held executive roles at OpenSky, Portero, Takkle. Steve blogs, authors books, teaches, speaks, writes code and maintains a popular Vim distribution. You can find out more at http://spf13.com. Steve is a DZone MVB and is not an employee of DZone and has posted 25 posts at DZone. You can read more from them at their website. View Full User Profile

Go for Object Oriented Programmers

08.04.2014
| 8039 views |
  • submit to reddit

This presentation was given at OSCON 2014.

Object Oriented (OO) programming has dominated software engineering for the last two decades. The paradigm built on powerful concepts such as Encapsulation, Inheritance, and Polymoprhism has been internalized by the majority of software engineers. Although Go is not OO in the strict sense, we can continue to leverage the skills we’ve honed as OO engineers to come up with simple and solid designs.

Gopher Steve Francia, Author of Hugo, Cobra, and many other popular Go packages makes these difficult concepts accessible for everyone.

If you’re a OO programmer, especially one with a background with dynamic languages and are curious about Go then this talk is for you. We will cover everything you need to know to leverage your existing skills and quickly start coding in go including:

  • How to use our Object Oriented programming fundamentals in go
  • Static and pseudo dynamic typing in go
  • Building fluent interfaces in go
  • Using go interfaces and duck typing to simplify architecture
  • Common mistakes made by those coming to go from other OO languages (Ruby, Python, Javascript, etc.),
  • Principles of good design in go.
Published at DZone with permission of Steve Francia, author and DZone MVB. (source)

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)