Lumbergh says: "If you voted, that would be greeaaaattt!" Login and vote now.
By mswatcher
via lovehateubuntu.blogspot.com
Published: Nov 20 2009 / 13:49
I've been messing around more with Scala to see some of its more interesting features, two of which are pattern matching and currying. These are really handy in certain situations, and I decided to share them with you today.
The example I'm using is the Euler method for approximating a solution to a differential equation. This is probably not the most intuitive way of doing the Euler method, but it uses a lot of Scala's interesting features and I think it is a good way of illustrating them.



Add your comment