Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/website: "The Laws of Reflection" blog post needs a section on generics #49939

griesemer opened this issue Dec 3, 2021 · 1 comment


Copy link

@griesemer griesemer commented Dec 3, 2021

The blog post The Laws of Reflection, while old, is still a commonly used in-depth resource for the reflect package. There needs to be a preamble explaining how the reflect package is affected by generics (it isn't).

cc: @ianlancetaylor
cc: @robpike

Copy link

@robpike robpike commented Dec 3, 2021

I would say rather than a preamble, it just needs a clarification in a couple of places. It also needs a tweak because Println etc. now handle reflect.Type more nicely, which invalidates a tiny bit of explanation.

@robpike robpike self-assigned this Dec 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants