Tuesday, November 30, 2010

Pascal(a)'s Triangle

I've been toying with scala for a bit now. Not as much as I'd like to, and not often for work, but just because I like what little I've seen. As a bit of a college CS course throwback, I wrote a little scala script to print Pascal's triangle. The goal of these exercises is to code in good scala style, using scala as best possible. So, if you happen to be a scalawiz and see some un-scala construct, please point it out and suggest something more scala-ish.