16

The latter post does an analysis of the code example in the former, highlighting the choice of using a map expression versus if-let. The primary objective of the compare/contrast is to emphasize code that make it clear what the intention is, without the need to dig out reference documentation.

Read more on optshiftk.com