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

Scattered Showers And Thunderstorms

Today in Washington, DC: Isolated rain showers before 11am, then scattered showers and thunderstorms. Mostly cloudy, with a high near 82. Northeast wind around 7 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 »