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.
- 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.