~/talk

Say goodbye to bugs and anti-patterns with Error Prone

Talkat jPrime 2024 · 2024-05-28..05-29· [java, developer-experience]
slides:none on file

Error Prone runs as a compiler plugin that not only detects but rewrites Java issues using a patch mode so fixes apply in-place, and refaster templates let teams express before/after refactors. Picnic open-sources an Error Prone Support repo with ~900 refaser rules and ~40 bug checks, applied across ~70 repositories. A single check once changed ~800 files and ~4,000 lines. Setup uses two Maven profiles plus a patch script and CI flags so violations fail the build, letting teams enable checks incrementally and review small, predictable refactor PRs.

AI-written summary · about

  1. 0:00Introduction and frustration
  2. 1:09Code quality processes at Picnic
  3. 5:05Tools to minimize discussions
  4. 6:08What is Error Prone
  5. 8:15Reaster for simple refactorings
  6. 10:21Maven profiles setup
  7. 12:27Demo and quiz
  8. 17:35Highlighted Error Prone checks
  9. 21:29Introducing Error Prone in practice
  10. 23:56Enabling one bug pattern
  11. 27:07Lessons learned at Picnic
  12. 35:59Applying refaster rules
  13. 40:13Incentivizing contributions
  14. 41:38Live refaster rule demo
  15. 45:40Conclusion and next steps
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.