progs/lecture3.scala
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Thu, 17 Nov 2016 15:16:53 +0000
changeset 60 f099bcf9cff1
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