GopherCon 2023: Clean Up Your GOOOP: How to Break OOP Muscle Memory - Dylan Bourque @GopherAcademy
GopherCon 2023: Clean Up Your GOOOP: How to Break OOP Muscle Memory - Dylan Bourque  @GopherAcademy
Uploaded May 2024 | Updated December 2026, 3 days ago
Many Gophers, maybe even most of us, came to Go from other languages. Often those were object-oriented languages like C++, Java, or C#. That OOP world is filled with 40 years of patterns and idioms, and people who wanted to become “experts” in those languages spent a lot of time learning those patterns and committing them to mental muscle memory.

It’s likely that most of us have read the Gang of Four Design Patterns book. I think it’s actually assigned reading at some universities! There’s also the sage wisdom of Uncle Bob Martin. Others are out there, but you get the picture. The gotcha, though, is that those sources are all rooted in Object Oriented Design with its emphasis on classes, inheritance, virtual methods, and such. We’re all Gophers now, though, and Go is not really an OO language.

In this talk, we will take a tour around common constructs, patterns, and idioms from Object Oriented Programming and explore how to translate them to idiomatic Go while avoiding the traps and pitfalls that come from directly translating existing C++/Java/C# code.
GopherCon 2023: Clean Up Your GOOOP: How to Break OOP Muscle Memory - Dylan BourqueGopherCon 2024: Processing Millions of Events Per Second Reliably Using Generics - Alan BraithwaiteGopherCon 2022: Making the Leap from NodeJS to Go - Kalan ChanGopherCon 2024: Celebrating International Women’s Day in the Go CommunityGopherCon 2024: Go Back to the Future - Ron EvansJoin the GopherCon CommunityGopherCon 2022: System Programming for Real-time Video Capture in Go - Vladimir VivienGopherCon 2025: Graphical Apps without an OS - Andy WilliamsGopherCon 2022: Compatibility: How Go Programs Keep Working - Russ CoxGopherCon 2023: Building a Highly Concurrent Cache in Go: A Hitchhikers Guide - Konrad ReicheGopherCon 2021: 3D Printing Gophers with Go - Sebastian SpainkGopherCon 2021: Queues, Fairness, and The Go Scheduler - Madhav Jivrajani
Gopher Academy |

GopherCon 2023: Clean Up Your GOOOP: How to Break OOP Muscle Memory - Dylan Bourque

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER