scala_school2
scala_school2 copied to clipboard
Scala School 2
Should be simple, see [CodeMirror manual](http://codemirror.net/doc/manual.html#keymaps).
/object-oriented-programming/apply-unapply-and-case-classes#the-unapply-method "This works because of some additional plumbing called unapply. which is somewhat more mind-bending than apply, but very powerful."
object-oriented-programming/abstract-and-sealed-classes#abstract-methods-and-override 1. You don't explain override, but you use it as if it were a keyword in the title. There is an exercise called "overriding" but that doesn't imply that...
object-oriented-programming/apply-unapply-and-case-classes#case-classes "Exercise: play around" Not sure how helpful this is when you haven't fully explained what case classes are. Maybe suggest trying to instantiate a new object and see what...
Users shouldn't be allowed to troll like: ``` scala System.exit(0) ``` or ``` scala while (true) println("LOL") ``` or ``` scala val f = new File("/") f.delete() ``` I think...
/data-and-control-flow/pattern-matching#match-expressions-and-literal-patterns "The values appearing on the left hand side of the => are called “literal patterns.”" What are they called on the right hand side? Mega Combo Bonus: might be...