Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

14. Polyglot Programming > Ola’s Pyramid

Ola’s Pyramid

The polyglot style of development will continue to lead us in the direction of domain-specific languages (DSLs) as well. In the near future, our language landscape will look very different: specialized languages will be used as the building blocks to create very specific DSLs that are in turn very close to the problem domains we are trying to solve. The era of single-use general-purpose languages is drawing to a close; we’re entering a new realm of specialization. Maybe it’s time to dust off that college Haskell textbook!

My colleague, Ola Bini, has added some nuance to this idea of polyglot programming, defining the new application stack. His view of the modern development world looks like Figure 14-2. This diagram suggests that we’ll use a language (perhaps a statically typed language) for the stability layer, a more productive language (probably dynamic in nature, like JRuby, Groovy, or Jython) for day-to-day coding, and domain-specific languages (as discussed in Fluent Interfaces” in Chapter 11) to align our code more closely to the needs of business analysts and end users. I think Ola has nailed the way that the disparate ideas of polyglot programming, domain-specific languages, and dynamic languages all fit together.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint