progs/lecture3.scala
changeset 53 9f8751912560
parent 8 ab77f6006f1f
child 67 ca5884c2e3bd
equal deleted inserted replaced
51:0e60e6c24b99 53:9f8751912560
     1 // regular expressions
     1 // regular expressions
     2 // ?? polymorphism
     2 // ?? polymorphism
       
     3 
       
     4 A function should do one thing, and only one thing.
       
     5 
       
     6 Make your variables immutable, unless there's a good reason not to.
       
     7 
       
     8 You can be productive on Day 1, but the language is deep, so as you go
       
     9 along you’ll keep learning, and finding newer, better ways to write
       
    10 code. Scala will change the way you think about programming (and
       
    11 that’s a good thing).
       
    12 
       
    13 Of all of Scala’s benefits, what I like best is that it lets you write
       
    14 concise, readable code
       
    15 
       
    16 
       
    17 
       
    18 ScalaTest download page: http://www.scalatest.org/download