Scala Symbol Literals
Replacing strings in case clauses
Let's say we have multiple data sources which include database, file, prompt and argumentList. Depending on chosen source we change our approach:
We could have very well used String in place of Symbol. We didn't, because none of strings's features are useful in this context.
This makes the code simpler and less error prone.