Pattern matching is a powerful and frequently used feature of Scala. The candidate should be able to explain that pattern matching allows developers to match values against patterns and extract data from them quickly.
For example, a piece of code using pattern matching may compare incoming messages to different patterns and take appropriate action depending on the pattern it matches..
©
Revelo