Mark Lewis
1 min readJan 30, 2019

--

You mention that Option types are used primarily for return values, but I also like to use them for inputs, especially to classes, when there are fields that are optional.

--

--

Mark Lewis
Mark Lewis

Written by Mark Lewis

Computer Science Professor, Planetary Rings Simulator, Scala Zealot

Responses (1)