Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the pros and cons of boilerplate code in JVM languages through a 40-minute conference talk by Trisha Gee at Devoxx. Examine common coding scenarios in Java and Kotlin to understand the impact of removing extraneous code on readability and productivity. Learn how Java has evolved to improve developer efficiency and why staying updated with new language features can simplify coding. Discover insights on when boilerplate code is beneficial and when it can be reduced, covering topics such as data classes, null handling, switch statements, collections, and lambda expressions. Gain valuable perspective on balancing code readability with conciseness in modern programming practices.
Syllabus
Introduction
You can leave now
Boilerplate
Hello World Example
Good IDEs
Modern Java
Data classes
Writing boilerplate
Reading Java code
Lombok
Dataclasses
Casting
Nulls
Optional
Switch statements
Default parameter values
Collections
Lists
Maps
Lambda Expressions
Streams API
Can we go too far
Implicit
When is boilerplate good
Summary
Additional code
What is readable
Reducing code
Questions
Taught by
Devoxx