Главная
Study mode:
on
1
Intro
2
What is type inference
3
Where can var be used
4
Reassignment
5
Examples
6
Controversy
7
When to not use var
8
Principles
9
Strawman example
10
Try with Resources example
11
Try with Providers example
12
Generics example
13
Programming to the interface
14
Context
15
Example Code
16
Sample Code
17
Summary
Description:
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.

Var with Style - Local Variable Type Inference in Java 10

Devoxx
Add to list
0:00 / 0:00