You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
should we introduce flatMap on findJobIdByHumanId.
At this point people understand what an Option type is and how/when to use it. findJobIdByHumanId is a very good example of how you combine two Options. The IDE suggest that you should use flatMap instead of map.flatten.
The next exercise findJobByHumanId has the same intuition. We could introduce it here to show the difference.
The text was updated successfully, but these errors were encountered:
should we introduce
flatMap
onfindJobIdByHumanId
.At this point people understand what an
Option
type is and how/when to use it.findJobIdByHumanId
is a very good example of how you combine twoOption
s. The IDE suggest that you should useflatMap
instead ofmap.flatten
.The next exercise
findJobByHumanId
has the same intuition. We could introduce it here to show the difference.The text was updated successfully, but these errors were encountered: