scala-academy / castalia

API stub server
Other
8 stars 3 forks source link

Refactored nested if else to pattern match (codacy issue) #59

Closed TimSoethout closed 8 years ago

TimSoethout commented 8 years ago

When giving the Scala course, I realised the solution for this one! Nested pattern matches

DieBauer commented 8 years ago

Nice one. Let's merge ;)