Practical Generics

In this workshop, you’ll learn how you can use generics in your project.

Course Description

You’ll see what are the benefits of generics, how to write generics code, and when you should avoid them.

During the workshop, you’ll develop a library that has both generic functions and generic data structures.

Duration

This workshop is composed of two 2-hour online sessions.

Topics Covered

  • Generic Functions
  • Writing type constraints
  • Specify underlying types
  • Using interfaces
  • Generics structs & methods
  • Limitations

Prerequisites

You need to be familiar with Go and have the Go SDK and an IDE (such as VSCode with the Go extension or Goland) installed on your machine. You will also need git installed on your machine.

About the Instructor

Miki is a software developer with more than 20 years of experience. He has taught many workshops on various technical subjects all over the world at companies such as AT&T, Oracle, Dropbox, J.P. Morgan, and others. Miki is involved in open source, both in the Go and Python worlds. He has several open-source projects of his own and contributed to many others including Go & Python.

He’s also helping organize GopherCon Israel, Go Israel meetup, and the upcoming PyData Israel, and was a member of the PyCon Israel team.

Miki wrote “Forging Python”, “Go Brain Teasers” and “Python Brain Teasers”, he’s a LinkedIn Learning author, speaks at conferences, and infrequent blogger. Miki helps customers with R&D projects, building data pipelines, optimizing performance, and other challenging technical issues. He loves writing code and solving problems.