Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
helper
on Aug 1, 2019
|
parent
|
context
|
favorite
| on:
Why Generics?
Normally you wouldn't write that since the compiler will be able to infer the baz type based on buzz (assuming this is a call to a generic function).
weberc2
on Aug 1, 2019
[–]
That's a fair point, but there are still times when being explicit is useful or even required, and it doesn't hurt to use syntax that disambiguates easily.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: