~/talk

Hot and spicy Java with Lombok. Live!

Talkat JavaDay Kharkiv 2016 · on Saturday, 2016-09-17· [java]
links:none on file
slides:none on file

Live coding shows Lombok (Maven dependency + optional IDE plugin) replacing repetitive getters/setters, equals/hashCode, toString and constructors so a simple Whisky class shrinks ~4x and tests stay green after swaps. Examples build Barrel, Bottle and Bar classes using @Data, @Builder, @Value, plus @Synchronized and @SneakyThrows; Delombok/Delombok plugin reveals generated sync blocks and exception-wrapping tricks. Caveats: hidden API changes, fluent/builder renames can break callers, and local var usage can obscure return types.

AI-written summary · about

  1. 0:00Introduction
  2. 1:04Boilerplate code
  3. 4:55Lombok setup
  4. 8:47Code reduction with annotations
  5. 10:54What is Lombok
  6. 13:43How Lombok works
  7. 15:30Barrel class creation
  8. 18:42Bottle class and annotations
  9. 21:53Java var feature
  10. 25:28When var fails
  11. 26:12Bar class creation
  12. 32:11Lombok internals
  13. 37:52Exception handling
  14. 41:48Logging with Lombok
  15. 44:14Lombok benefits
  16. 47:01Lombok drawbacks
  17. 49:32Usage recommendations
  18. 51:18Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.