Y
Hacker News
new
|
ask
|
show
|
jobs
by
gowld
2930 days ago
That's reflection not generics. It's mostly the same denotational semantics, but much less efficient performance.
2 comments
mirkoadari
2930 days ago
I think it's more than that. You wouldn't commit code that doesn't compile. Your entire organization, however, will troubleshoot the code that fails on runtime in production.
link
tree_of_item
2929 days ago
It's not the same semantics at all. Using the top type is not even close to using a type parameter.
link