progs/lecture3.scala
author Christian Urban <urbanc@in.tum.de>
Thu, 17 Nov 2016 11:24:45 +0000
changeset 58 93a2b6e4b84c
parent 53 9f8751912560
child 67 ca5884c2e3bd
permissions -rw-r--r--
updated

// regular expressions
// ?? polymorphism

A function should do one thing, and only one thing.

Make your variables immutable, unless there's a good reason not to.

You can be productive on Day 1, but the language is deep, so as you go
along you’ll keep learning, and finding newer, better ways to write
code. Scala will change the way you think about programming (and
that’s a good thing).

Of all of Scala’s benefits, what I like best is that it lets you write
concise, readable code



ScalaTest download page: http://www.scalatest.org/download