Java has issues! Verbose, cumbersome, no expressiveness, no fun. (Or so the kids say.)
Jokes and the craving for syntax sugar aside, Java does have some persistent pain points and Project Amber was set up to tackle them. Not as a single solution to a narrow problem, but as a solution factory that's steadily and carefully chipping away at them:
- text blocks and interpolation to untie the knots in dealing with strings
- pattern matching, records, and sealed types against the clunkiness of operating on data
var, records, and destructuring to reduce redundancy in variable and type declarations
- a relaxed launch protocol to pave the on-ramp for Java beginners
We'll look at these features individually and how they play together to make Java more expressive, more succinct, and more readable. After this talk, you'll know how Project Amber drove and drives the evolution of the language.
Nicolai (aka nipafx) is a Java enthusiast focused on language features and core APIs with a passion for learning and sharing - in articles, newsletters, and books; in tweets, videos, and streams; in demo repos and at conferences - more on all of that on nipafx.dev. He's a Java Developer Advocate at Oracle and organizer of Accento. That aside, he's best known for his haircut.
Ana is a Java Champion Alumni, Developer Advocate for the Java Platform Group at Oracle, guest author of the book "DevOps tools for Java Developers", and a constant adopter of challenging technical scenarios involving Java-based frameworks and multiple cloud providers. She actively supports technical communities' growth through knowledge sharing and enjoys curating content for conferences as a program committee member. To learn more about/from her, follow her on Twitter @ammbra1508.