Go to Generics = Go to hell? What I experienced after Generics Introduced into Go

By Hsueh-Tsung Kuo

議題

Go to Generics = Go to hell? What I experienced after Generics Introduced into Go

TR 213 [[ new Date( '2023-07-30 07:30:00+00:00' ).toLocaleDateString('ja', {year: 'numeric', month: '2-digit', day: '2-digit'}) ]] [[ new Date( '2023-07-30 07:30:00+00:00' ).toLocaleTimeString('zh-Hant', {hour12: false, hour: '2-digit', minute:'2-digit'}) ]] ~ [[ new Date( '2023-07-30 08:00:00+00:00' ).toLocaleTimeString('zh-Hant', {hour12: false, hour: '2-digit', minute:'2-digit'}) ]] zh-tw
加入行事曆 加入關注 加入關注 已關注

Go 1.18 brought Generics. When we heard this official announcement initially, we thought we could finally write Go programs quickly and run them efficiently. But after one year, the characteristics of Generics suffer us in many ways. It doesn't become Swiss knife as we think. So I will share some experiences of using Generics, point out what is going on in the design of Generics, show how to use Generics well, and when to apply Generics.

講者

Hsueh-Tsung Kuo

Hsueh-Tsung Kuo

  • A programmer from game company in Taiwan.
  • Backend (and temporary frontend) engineer.
  • Usually develop something related to my work in Python, Ruby, ECMAScript, Golang, C#.
  • Built CDN-aware game asset update system.
  • Business large passenger vehicle driver.
  • Care about chaotic traffic in Taiwan.
  • Draw cute anime character in spare time.

Golang Taiwan @COSCUP 2023 SVTYTE Early Birds Call For Paper - Session