Hello,

I’m adding a Scastie embedding on the front page of scala-lang.org.

I would like to do a little contest to decide what would be the content of this snippet. The winner will receive a Scala contributor T-SHIRT.

Here are some guidelines:

The code snippet should be relatively small (18 lines of code or less).

It should show how awesome Scala is.

It must be understandable by someone with no prior Scala experience.

A consensus on this thread will decide the winner(s).

Good Luck!