Generics in GO #shorts

preview_player
Показать описание
An overview of Generics in Golang.
Рекомендации по теме
Комментарии
Автор

I was banging my head so hard for so long trying to understand generics in go. This is brilliant!

ninostephen
Автор

this was alot easier to understand than the go tour example, very appreciated

gravityshark
Автор

As a person who has done Ruby, PHP, Python for a decade, I prefer Go doesn't use Generic unless it is for methods like the math example shown above. One of the best things about Go is it is statically typed, and everything is declared up front so you know what data is coming in and out.

ohmygosh
Автор

generics with primitive types? bring me this feature to Java

ahmedjaad
Автор

so it's like Optional in python typing?

nicolasleyton