Go Generics 101 (Go 101) Front Cover

Go Generics 101 (Go 101)

  • Length: 106 pages
  • Edition: 1
  • Publication Date: 2022-04-05
  • ISBN-10: B09XBQNNF2
  • Sales Rank: #2054582 (See Top 100 Books)
Description

Starting from version 1.18, Go has supported custom generics.

This book talks about the custom generics feature of Go programming language. The content in this book includes:

  • custom generic syntax
  • type constraints and type parameters
  • type arguments and type inference
  • how to write valid custom generic code
  • current implementation/design restrictions

A reader needs to be familiar with Go general programming to read this book. In particular, readers of this book should be familiar with Go type system, including Go built-in generics, which and Go custom generics are two different systems.

Currently, the book mainly focuses on the syntax of, and concepts in, custom generics. More practical examples will be provided when I get more experiences of using custom generics.

To access the link, solve the captcha.