Day 3: Cutting Through the Fluff

Just before the climax of Edward Scissorhands, Edward learns to wield his scissors as an artist in everyday life. He molds shrubs into dinosaurs, crafts spectacular hair with the effortless skill of Vidal Sassoon, and even carves the family roast. With Scala, we’ve encountered some awkward moments, but when this language feels right, it’s borderline spectacular. Hard things, like XML and concurrency, become almost routine. Let’s take a look.


Modern programming problems meet Extensible Markup Language (XML) with increasing regularity. Scala takes the dramatic step of elevating XML to a first-class programming construct of the language. You can express XML just as easily as you do any string:

scala>​ val ...

Get Seven Languages in Seven Weeks now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.