I tend to have this redundant naming in case classes: abstract class MyTree case class MyTreeNode (...)
Hello fellow Scala Programmers I have been working with Scala for some month now, however I have a problem with some properly basic stuff, I am hoping you will help my out with it.
I created a hierarchy of case objects in Scala that looks like the following: package my.awesome.package
I searched in Google to find the differences between a case class and a class. Everyone mentions that when you want to do pattern matching on the clas开发者_运维技巧s, use case class. Otherwise use cl