Assignment 1 done in Clojure and Scala

I have solved the Assignment in this 2 languages...
My opinion....
Clojure: I know more this languages, I had fun solve the assignment with clojure check, but actually I can say it's a good start but it has to be improved.
The problem was OO designed, so the solution and the assignment design it's not as great as I would like.
If I'll have time I'll come back to this assignment to re-design it to be more "clojure-friendly"
Scala: I did it in Scala, it was quite a shock to write because it was really easy to solve writing generators and properties. I think ScalaCheck is a great library, and the syntax of the solution is more clear than Clojure's one. The match of Scala is absolutely AWESOME.
I'll post my solution after the hard deadline :)

Comments