Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
daenz
· 8y ago · 0 comments
>Besides, I think think it even actually _is_ idiomatic since you used reflection.
https://appliedgo.net/generics/
See point 4 and 5. It is idiomatic.
Comments
[–]
piano
8y ago
Are you joking / trolling? The article clearly instructs to _avoid_ refleciton...
[–]
daenz
OP
8y ago
That's the author's personal opinion, but it doesn't make it any less idiomatic. There's a difference. And point 4 isn't reflection at all, it's type assertions.