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

For your example, it makes no difference. However, take a look at the other example mentioned at the beginning:

    var stream = list.stream();   // infers Stream<String>
How would you write it in order to take advantage of type inference?


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: