Devoxx Ukraine 2019: Local variable type inference - will it compile? - Miro Cupak

Devoxx Ukraine 2020 becomes a FREE ONLINE event 6-7th of November Kyiv, Ukraine Registration: Since Java 10, type inference in Java has been extended to declarations of local variables with initializers, thus reducing the ceremony associated with writing code. Although seemingly simple at first sight, the feature comes with a series of restrictions making its usage rather tricky at times. In this live-coding session, we push the limits of local variable type inference and examine its behaviour through a series of 40 examples. We do this in the form of a quiz, and focus on situations where the type inference doesn’t work, or leads to unclean code. Come and test your intuition and knowledge of local variable type inference, and learn how to use it well in practice! #devoxxua #java #devoxx
Back to Top