Scripting with Scala vs. Groovy « The Det about Programming - 0 views
-
Hendy Irawan on 13 Oct 10Last week I decided to challenge Scala's downscalability by trying to replace a Groovy script with a Scala pendant. In this article you will read about this little experiment and a comparision of the Scala result with the Groovy predecessor. But first some background about the script: Some time ago my company introduced a new spam notification system. When it thinks that a mail contains spam, it keeps it in quarantine and once or twice a day sends an email to the recipient (me) reporting all the kept mails, together with an intranet web link for each to release it. Here you see an example of such a mail (note: I have my mails displayed in plain text format):