Aug 25, 2017 · 1 min read
Lombok. Add it to your Java project. Add @Data to the class.
Most nullpointers are design time errors. I WANT them to “crash” so that I can find them. Using something to attempt to handle it typically obfuscates the problem … “Why is this not logging?” If you want to check nulls … Lomboks @NonNull
Honestly, with things like Lombok, Kotlin adds little value from what i have read. The only thing I have heard about that it really is better in is in the area of Generics.
