public
Description: Trials and tribulation of learning Scala
Homepage:
Clone URL: git://github.com/rubbish/programming-scala-workthrough.git
rubbish (author)
Mon Oct 26 15:46:25 -0700 2009
commit  31451cc243afc40c0e477b5304e53ec9aa55a608
tree    d784ea5f4c3026f8883b2c5493a7bfc11072cdd5
parent  1c8198e1c63d308b6daeb8a431b0e1e91882ca59
name age message
file .gitignore Loading commit data...
file README.md
directory lib/
directory project/
directory src/
README.md

Programming Scala - Trials and Tribulations

These are the trial and tribulations as I work through the Programming Scala book by Dean Wampler and Alex Payne.

Make a little spec, learn a little more

I worked through the book in kind of a different way.

Instead of printing results out (like a println("Hello world") script), I tried to approach this as if I was actually developing an app for it. So I learned the language by writing specs and asserting what I thought was supposed to happen. Usually I was wrong, but the tests would steer me in the right direction. I also had to figure out a way of building the application from the get-go. I started with Maven2,as I was very familiar with it, but settled with simple-build-tool. Simple-build-tool as a "~ action" flag which will watch your source directories and run the action on change. ~test-quick FTW.

Review

The book has been great. Certainly the most approachable way to learn the language. 4 1/2 stars (minus a point for its explanation of partial functions - not quite right)