101 reputation
1
bio website
location
age
visits member for 4 years, 1 month
seen Mar 3 at 22:00

Nov
23
comment null values vs “empty” singleton for optional fields
Using Option core methods isEmpty()/isDefined() and get() works perfectly fine from Java.
Nov
15
comment How to implement isValid correctly?
You can use an intermediate Builder object, responsible of the construction of the final object and of tracking the errors alongside. Then you can have a build() method that throws if Builder#isValid() doesn't pass and SomeObject is always created correctly.
Nov
14
awarded  Supporter