concept follow snippet in category scala

appears as: following snippet, following snippets
Get Programming with Scala

This is an excerpt from Manning's book Get Programming with Scala.

Let’s have another look at the following snippet of code about registering attendees for an event that you have implemented in the previous section:

Consider the following snippet of code. What does it return? Why? Use the Scala REPL to validate your hypothesis.