HTTP Server
The above code will make sense once you read the whole language reference, but we can already learn some things.
-
You can define local variables without the need to specify their type:
You program by invoking (or sending messages) to objects.
-
You can easily create strings with embedded content, known as string interpolation. The language comes with other syntax as well to create arrays, hashes, ranges, tuples and more: