Landestelle, Basel, Switzerland
Outdoor cafe at Landestelle. Basel, Switzerland; Sep. 20, 2019.

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

Slight Chance Showers And Thunderstorms

This Afternoon in Tallahassee, FL: A slight chance of showers and thunderstorms. Mostly sunny, with a high near 84. East wind around 10 mph. Chance of precipitation is 20%. 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 »