Friday 20 April 2012

The business case for Scala

I will skip a lot of the functional stuff that Scala brings, first-order functions, better event handling, improved multi-threading with Erlang's Actors, comprehensions, etc. These are covered in details almost everywhere.

No, my favorite is simple.

The ability to write new language syntax constructs.

Think that through for a second....

Now that we are using OO and design patterns etc, the majority of our code is becoming a repeating series of boilerplate glue to stick it all together.

In fact, I would guess that 80% of any development project is now about writing and testing boilerplate.

What if you could identify and abstract it all away into your own syntax?

You would effectively have a DSL for your business domain.

For years we have used OO to encapsulate data and the methods to act on it,  but we never been able to do the same for the boilerplate glue, untill now.

I am unsure quite how to scream and shout enough to make you pay attention to the that little details, but it offers as much advantage to any development process as the whole change to the OO paradigm.

If you want to make a difference to your business embrace scala. They will love you for it.

No comments:

Post a Comment