YoVDO

Generics in Go

Offered By: Gopher Academy via YouTube

Tags

GopherCon Courses Go Courses Data Structures Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the concept of generics in Go through this 24-minute conference talk from GopherCon 2019. Dive into the advantages and requirements of implementing generics in the Go programming language. Learn how to reverse a slice of strings and discover sample functions and data structures that can be written generically. Gain insights into guidelines for designing with generics and understand how to reverse a slice of any type. Examine various contracts including Sequence, Stringer, and Ordered. Delve into generic binary tree data structures, learning how to create, search, and use them effectively. Conclude with a look at type checking implementation to experiment with these concepts.

Syllabus

Intro
Reverse a slice of string
Sample functions that can be written generically
Sample data structures that can be written generically
Guidelines for a generics design
Reverse a slice of any type
The Sequence contract
The Stringer contract
The Ordered contract
Generic binary tree data structures
Create a generic binary tree
Search a generic binary tree
Using a generic binary tree
Type checking implementation to try out


Taught by

Gopher Academy

Related Courses

Разработка веб-сервисов на Go - основы языка
Moscow Institute of Physics and Technology via Coursera
Getting Started with Go
University of California, Irvine via Coursera
Concurrency in Go
University of California, Irvine via Coursera
Functions, Methods, and Interfaces in Go
University of California, Irvine via Coursera
Game Thinking: Juego y toma de decisiones
The Pontificia Universidad Javeriana via edX