Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Published on Nov 15, 2017
Java 10 will be released in March 2018 and it comes with local-variable type inference, which means we can use 'var' instead of a type name when declaring local variables. In this video I tell you how to use 'var', where it works and where it doesn't (and why) and how it might impact readability.
* 0:11 introduction * 0:47 where var works * 2:49 no, this is not dynamic typing * 4:08 how var works * 4:57 "action at a distance" errors * 7:41 technical limitations of var * 9:51 design limitations of var * 13:09 impact on readability * 17:31 summary