Y
Hacker News
new
|
ask
|
show
|
jobs
by
helper
2509 days ago
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).
1 comments
weberc2
2508 days ago
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.
link