Fun with var
Read OriginalThis article provides a comprehensive look at Java 10's `var` keyword for local variable type inference. It covers how the type is inferred, where to use it, potential readability concerns, and explores advanced, fun applications like faking intersection types. It includes links to a demo repository, slides, and recordings of the technical talk.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser