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
Play by Play: Developing Microservices and Mobile Apps with JHipsterPluralsight Software Archaeology - Learning from the Landing on the Moon
Devoxx via YouTube Create an Eco-Friendly World with Green Software Engineering
Devoxx via YouTube Platform Building for Data Mesh - Show Me How It Is Done
Devoxx via YouTube The Hitchhiker's Guide to Software Architecture and Design
Devoxx via YouTube