Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
josefx
on March 2, 2022
|
parent
|
context
|
favorite
| on:
How generics are implemented in Go 1.18
Java fixed the mutability issue for its generics, you can insert Cats and Dogs into a concrete List<Animal>, but you cannot insert them into a List<? extends Animal>.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: