Go Generics 101 (Go 101)
by Tapir Liu
- Length: 106 pages
- Edition: 1
- Language: English
- Publication Date: 2022-04-05
- ISBN-10: B09XBQNNF2
- Sales Rank: #2054582 (See Top 100 Books)
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.
Free ChaptersTry Audible and Get Two Free Audiobooks »
To access the link, solve the captcha.
Recommended BooksMore Similar Books »
Programming Basics with C#: Comprehensive Introduction to Programming with C#: Video Book + Learning Platform
Go Optimizations 101 (Go 101)
Go Details & Tips 101 (Go 101)
Machine Learning for Managers
The Web3 Era: NFTs, the Metaverse, Blockchain and the Future of the Decentralized Internet