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

Areas Of Fog

Overnight in Tallahassee, FL: Areas of fog between 1am and 4am, then areas of fog and a slight chance of rain showers. Mostly cloudy, with a low around 65. South southeast wind around 5 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 »