Learn Java 16 with IntelliJ IDEA

preview_player
Показать описание
Getting up to speed on the new features in Java 16 may seem overwhelming, but your IDE can help you to migrate to the latest and greatest version. Learn how you the IDE lets you research new features as you need them. Hear from Trisha Gee (Java Advocate, JetBrains).
Рекомендации по теме
Комментарии
Автор

I can't wait for IntelliJ IDEA 2021 so that I can use these amazing new Java features. Thanks for this amazing talk!

ViTaLCDR
Автор

Hi Trisha, I have this use case:
I have: record Person(String firstName, String lastName)
I want to have a method in Person that returns the fullName which is expensively computed from first and last name. Of course I want to compute the full name only once.
Is it possible with record?

avalagum
Автор

I cannot see a reasonable purpose for a static method inside a non-static inner class. Are the JDK devs just ^%#$ing around with what they can do without actually seeing a purpose for it?

CavanLeeSears