Var with Style - Local Variable Type Inference in Java 10
Offered By: Devoxx via YouTube
Course Description
Overview
Explore the Local Variable Type Inference feature introduced in Java 10 through this comprehensive conference talk. Learn how to use 'var' for more concise and readable code, understand the style guidelines published by the Java Team, and examine both good uses and potential misuses of this feature. Dive into practical code examples, discover when to avoid using 'var', and gain insights into programming principles such as "programming to the interface." Benefit from Stuart Marks' expertise as he covers topics including type inference, reassignment, generics, and Try-with-Resources examples. Enhance your Java programming skills and learn to write more efficient and maintainable code with this in-depth exploration of Local Variable Type Inference.
Syllabus
Intro
What is type inference
Where can var be used
Reassignment
Examples
Controversy
When to not use var
Principles
Strawman example
Try with Resources example
Try with Providers example
Generics example
Programming to the interface
Context
Example Code
Sample Code
Summary
Taught by
Devoxx
Related Courses
Writing Professional CodeMicrosoft via edX Learn C# By Building Applications
Udemy Fundamentos de C# para Principiantes
Udemy What's New in Visual Studio 2017 for F# For Developers
LinkedIn Learning Clean Code
Udemy