~/talk

Say goodbye to bugs and anti-patterns with Error Prone

Talkat JCON EUROPE 2024 · 2024-05-13..05-16· [java, developer-experience]
slides:none on file

Error Prone runs as a compiler plugin during builds and can both flag and automatically apply fixes in patch mode, turning thousands of repetitive review comments into refactors. Picnic reports enabling over 500 built‑in checks, creating about 900 refaster rules and 40 custom bug checks, rolling configuration to 70+ repositories and 3 million Java lines via a shared parent, and landing ~60 PRs across 40 repos. Tooling (Refaster, Error Prone Support repo) proves scalable and reviewable, though some rewrites need iterative compilation.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 1:05Code quality issues and repetitive discussions
  3. 5:59What is Error Prone
  4. 11:00Maven profiles setup
  5. 13:07Live demo of Error Prone
  6. 17:31Bug patterns and examples
  7. 20:08Roadmap for introducing Error Prone
  8. 23:18Applying first bug pattern in practice
  9. 26:06How Picnic uses Error Prone
  10. 30:00Error Prone Support and custom rules
  11. 34:16Applying rules at Picnic scale
  12. 37:06Current state and adoption
  13. 39:14Creating a custom Refaster rule
  14. 42:54Conclusion and resources
  15. 43:37Q&A session
~/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.