Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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).


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: