I absolutely love Scala and I've just started solving problems in Scala on leetcode. Much to my disappointment, I was shocked to see that most of the Classes were 'non' case classes. This essentially means that you cannot write pattern match code, which is the essence in any functional paradigm. Whosoever is in charge of Scala boilerplate must update this flaw. The problem solving in scala is otherwise pretty useless as you have to write non-idiomatic and non-functional code in it.