Chapter 11. Scaling Up

An adage has it that a 100-line program can be made to work even if it breaks all rules of good programming. That adage is fractal, really—a 10,000-line program could actually be written with attention to small-scale details but without minding any larger-scale rules of proper modular development. Probably there are even quite a few million-line projects out there that break more than a few rules for large-scale design.

Many solid principles in software engineering also have a fractal feel to them. Separation of concerns and information hiding are equally at work in a small module or when connecting entire applications together. The incarnations of these principles, however, vary with the scale at which the principles ...

Get The D Programming Language now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.