Appendix. Polyglot Programming Pyramid

Polyglot programming makes sense because different pieces of code have different lifetimes. A risk engine in a bank may last for five or more years. JSP pages for a website could last for a few months. The most short-lived code for a startup could be live for just a few days. The longer the code lives, the closer to the bottom of the pyramid it is. This represents a trade-off between concerns like performance and thorough testing at the bottom versus flexibility and rapid deployment at the top. (See chapter 7.)

Get The Well-Grounded Java Developer 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.