Hi Simon. Thanks for reading and responding.
I understand what are you saying. Builders are tedious. I like the Immutables library as well, I’ve just used lombok more as it seemed to have more use-case specific control when needed than Immutables (though I could be wrong).
I have personally never found them hard to use personally, but that is only within a codebase that uses them everywhere. Being able to always do
MyObject.newBuilder()...build() any and every time I need to create a new object becomes second-nature. Maybe I don’t understand your statement of “the compiler will not tell you when you are ready to use the object.” Could you clarify?
Anyhow, thanks for the comment! Happy Coding!