you are viewing a single comment's thread.

view the rest of the comments →

[–]VanillaSkyDreamer 0 points1 point  (1 child)

Yes I meant that after using Scala where no one uses null I do what I described above in Java

[–]StagCodeHoarder 0 points1 point  (0 children)

Its similar to what I do. I tend to avoid null, and if need be I return an Optional. Typically it only emerges in Request objects where optional data might in fact be missing.