Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

The Power of Go Interfaces - What Makes Golang Go

ChariotSolutions via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Dive deep into the power of Go interfaces in this 53-minute conference talk. Explore how interfaces enable flexible, reusable, and testable application and library development. Discover the unique approach Go takes with small, implicitly implemented interfaces, and learn how this paradigm shift impacts program design. Through hands-on examples, gain a comprehensive understanding of interface benefits, definition, implementation, and usage. Apply interface concepts to enhance code reusability and testability, and explore best practices for maximizing their value. Cover topics including the stringer interface, small interfaces, IO operations, testing, composition, type assertions, and the empty interface. Gain insights into working with Go, generics, and object-oriented principles in Go programming.

Syllabus

Introduction
Background
Simplicity
What is an interface
Interfaces in Go
Types in Go
The stringer interface
Small interfaces
IOWriter
IORider
TCPListener
Netio
Logwriter
Testing
Shapes
Interface Border
Composition is not Inheritance
Grouping Interfaces
Composing Interfaces
Type Assertions
Type Switch
The Empty Interface
Summary
Contact
Questions
Working with Go
Generics in Go
Objectoriented principles in Go

Taught by

ChariotSolutions

Reviews

Start your review of The Power of Go Interfaces - What Makes Golang Go

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.