Airplane propeller against a pink and purple sky
Sunrise at Lee Airport (KANP). Edgewater, MD; December 9, 2020.

Composable architecture saves time, effort for developers

April 30th, 2020: When designing a complex, long-lived component, there's one tradeoff that I think about constantly. Do I want to configure my component, passing in a large object with options? Or do I want to build subcomponents, which can then be composed into the final interface?

Writing a component with a configuration API is easier for the author, since it flows naturally from the envisioned use case. However, if your component will be used by others, there may be substantial benefits to breaking it into smaller blocks.

Full story, page A4 »


Other sections


Weather

Chance Showers And Thunderstorms

This Afternoon in Washington, DC: A chance of showers and thunderstorms before 5pm. Partly sunny, with a high near 61. Northwest wind around 17 mph, with gusts as high as 28 mph. Chance of precipitation is 50%. New rainfall amounts less than a tenth of an inch possible. Full forecast »

Updated a few seconds ago


Cooking

Satisfy those carb cravings with Lazy Vegan Mac.

Full recipe, page C2 »