You are previewing Beautiful Architecture.

Beautiful Architecture

Cover of Beautiful Architecture by Georgios Gousios... Published by O'Reilly Media, Inc.

Chapter 13. Software Architecture: Object-Oriented Versus Functional

Bertrand Meyer

One of the arguments for functional programming is better modular design.By analyzing publications advocating this approach, in particular through the example of a framework for financial contracts, we access its strengths and weaknesses, and compare it with object-oriented design. The overall conclusion is that object-oriented design, especially in a modern form supporting high-level routine objects or “agents,” subsumes the functional approach, retaining its benefits while providing higher-level abstractions more supportive of extension and reuse.


“Beauty,” as a slogan for a software architecture, is not strictly for the beholder to judge. Clear objective criteria exist (Meyer 1997):

The best content for your career. Discover unlimited learning on demand for around $1/day.