Go Replaces Interface{} with 'Any'
21–30 of 481 posts
Re: Go Replaces Interface{} with 'Any'
#22Loading this commit in safari almost killed my phone
Re: Go Replaces Interface{} with 'Any'
#23Earlier quoted context omitted.
There is lots of tutorial-style documentation on modules: https://go.dev/doc/#developing-modules There is also a tutorial on generics: https://go.dev/doc/tutorial/generics
I tried doing the modules tutorial a while back but had difficulty with the directory structure. At some point I think the "recommended" directory structure became mandatory and I don't think my personal dev environment ever quite lined-up with it. Perhaps I should wait another year then buy a book.
Re: Go Replaces Interface{} with 'Any'
#24Earlier quoted context omitted.
How is generics not a big enough change to warrant 2.0? Edit: I’m impressed generics aren’t a breaking change! I thought this changed Interface{} to Any as a breaking change
See https://semver.org/ for more details. https://0ver.org/ is fairly popular, and I see https://calver.org/ pretty often too.
Re: Go Replaces Interface{} with 'Any'
#25Re: Go Replaces Interface{} with 'Any'
#26Earlier quoted context omitted.
See https://semver.org/ for more details. https://0ver.org/ is fairly popular, and I see https://calver.org/ pretty often too.
0ver is parody, right?
Less has my favorite version numbering system. Sequential.
Latest stable release: Version 598
Re: Go Replaces Interface{} with 'Any'
#27Re: Go Replaces Interface{} with 'Any'
#28I like it, interface{} always felt unlike anything else in go other than structs.
Re: Go Replaces Interface{} with 'Any'
#29So now that go has generics and modules, is there an up-to-date intro for writing cutting-edge Go code for people who are already pretty familiar with the older styles?
Re: Go Replaces Interface{} with 'Any'
#30Earlier quoted context omitted.
See https://semver.org/ for more details. https://0ver.org/ is fairly popular, and I see https://calver.org/ pretty often too.
0ver is parody, right?
“ZeroVer is satire, please do not use it”