Streamlining Large-Scale Java Development Using Error Prone • Sander Mak • GOTO 2022
This presentation was recorded at GOTO Amsterdam 2022. #GOTOcon #GOTOams
Sander Mak - Java Champion, Author of O’Reilly’s “Java 9 Modularity“ & Tech Leader at Picnic
ABSTRACT
Using static analysis to spot bugs in your code has become a staple of modern Java development. But what if we can take this one step further where, instead of just finding issues, we fix them automatically? And, what if we can do this not just for bug patterns but for any coding pattern you’d like to enforce?
At Picnic we use Google’s Error Prone and Refaster tooling to do just that. In this session you’ll learn what these tools are and how to use them effectively. Large-scale refactoring and enforcement of code patterns becomes a breeze once you master these tools. What’s more, you’ll get a view of some the automated refactorings we use within Picnic at scale. Come and learn how to take control of your codebase like you never have before! [...]
TIMECODES
00:00 Intro
01:22 Refactoring at scale using Error Prone
02:20 The online groceries challenge
02:58 Picnic’s numbers
03:39 SonarQube
04:27 The need for automated sanity
05:28 Error Prone
07:11 Demo
10:53 Error Prone (continued)
16:00 Error Prone BugChecker
17:54 Demo
22:44 Custom BugChecks at Picnic
25:58 What’s not to like?
26:49 What if we could write rules by example?
27:29 Error Prone with Refaster
28:50 Demo
32:27 Refaster at Picnic: JDK 11 migration
34:53 Refaster at Picnic: Reactor anti-patterns
35:29 When to use Refaster?
36:12 Refaster vs BugChecks
36:59 Integrating Error Prone with CI
28:20 Practice your new superpower
39:26 Outro
Read the full abstract here:
RECOMMENDED BOOKS
Sander Mak & Paul Bakker • Java 9 Modularity •
Markus Eisele & Natale Vinto • Modernizing Enterprise Java •
Kevlin Henney & Trisha Gee • 97 Things Every Java Programmer Should Know •
Dave Thomas & Andy Hunt • The Pragmatic Programmer •
Joshua Bloch • Effective Java •
Mark Heckler • Spring Boot: Up & Running •
Laurentiu Spilca • Spring, Start Here •
Thomas Vitale • Cloud Native Spring in Action (available soon) •
Venkat Subramaniam • Programming Kotlin •
#Java #JavaProgramming #Java8 #Java11 #Java17 #CloudNative #Programming #SanderMak #ModernizingEnterpriseJava #Coding #Refactoring #ErrorProne #BugChecker #SonarQube #SpotBugs #CheckStyle #Refaster #JDK11 #ContinuousIntegration #GoogleErrorProne
Looking for a unique learning experience?
Attend the next GOTO conference near you! Get your ticket at
Sign up for updates and specials at
SUBSCRIBE TO OUR CHANNEL - new videos posted almost daily.
1 view
0
0
2 months ago 00:03:05 1
The Ultimate Guide on How to Find Winning Products❗️❗️
4 months ago 00:00:53 1
The Real Use of a Swordfish’s Sword: Not What You Think! 🌊🐟 #facts #animals
10 months ago 00:02:53 1
Bulk Whatsapp Sender 🔥 How WAWPRO Transforms WhatsApp Marketing?
1 year ago 00:00:34 1
Silver arowana - অ্যারোওয়ানা বা ড্রাগন মাছ - Exoctic Acqurime Fish
1 year ago 00:20:41 1
Nobody Believes But It REALLY WORKS! 99 Brilliant (+1 FREE) Budget Ideas Work Like CRAZY Magic!
1 year ago 00:10:00 1
Just happened! NASA officially revealed Starship IFT-3 will test propellant transferring!
1 year ago 00:03:55 2
Katana 7.0 | Increased USD Support
1 year ago 00:05:25 1
EP.1: What is Warehouse 15? | Cleverence Warehouse 15 Explained
1 year ago 00:02:06 1
📽️ How to Choose the Right Chocolat Sauce Filling Machine for Your Business from HengYuan China 🇨🇳 ?
1 year ago 00:04:10 1
Germany’s chancellor Scholz calls for national unity amid economic crisis | DW News
1 year ago 01:07:12 1
1932 Ford Custom Hot Rod Switchers 1/25 Scale Model Kit Build How To Assemble Paint Engine Decals
2 years ago 00:02:59 1
BigRep ONE: High-Quality 3D Printing for Prototypes, Tooling, and End Use Parts
2 years ago 00:04:35 1
From Manual to Automated: Upgrading to a Bottle Pressing-On Capping Machine Model HYYG-600
2 years ago 00:19:28 1
“B-29S OVER DIXIE“ BOEING B-29 SUPERFORTRESS BOMBER PRODUCTION PLANT MARIETTA GEORGIA WWII XD59964
2 years ago 00:40:10 1
Streamlining Large-Scale Java Development Using Error Prone • Sander Mak • GOTO 2022
2 years ago 00:16:44 1
Видео от Библиотека Java разработчика
3 years ago 00:58:36 1
AWS re:Invent 2021 - Fannie Mae: Migrating at scale without lifting and shifting