go-proverbs / go-proverbs.github.io

Inspired by @rob_pike talk at Gopherfest SV 2015
MIT License
328 stars 21 forks source link

Proverb about Go generics: Write code, don't design types. #39

Open KZiemian opened 2 years ago

KZiemian commented 2 years ago

"Write code, don't design types." This statement is a title of the section of Generics! talk by Robert Griesemer and Ian Lance Taylor at GopherCon 2021, time 21:09. You can find explanation of its meaning at this moment of the talk.

Generics are still into the future, I'm trying now beta of Go 1.18. So we need the time to find how generics work in practices and if this proverb is a good guidance. But I taken Ian Lance Taylor words as my guidance when trying my hands in generics, so I think it is worth considering as proverb.

konradreiche commented 2 years ago

I like this one, also because it applies to Go in general. Here is a link into the talk at 21:06

KZiemian commented 2 years ago

Good to know, that at least one person thinks like me in this case.