O'Reilly logo

The D Programming Language by Andrei Alexandrescu

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required