Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
red_admiral
on July 9, 2022
|
parent
|
context
|
favorite
| on:
Go generics are not bad
Isn't the java problem that (a) the + operator is only defined for some built-in types, and (b) the int/Integer boxing distinction?
throwaway234232
on July 9, 2022
[–]
Right, you can't overload the + operator, and primitives can't be used in generics.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: