gaqzjg
Last Updated: February 25, 2016
·
90
· mariushe

Pattern matching in Scala

Pattern matching is a feature that is not unfamiliar in a lot of functional languages and Scala is no exception.

It matches a value against several patterns. Each pattern points to an expression. The expression that is associated with the the first matching pattern, will be executed.

Read the full post here:

Pattern matching in Scala