A Sensible Default is a practice that, absent some overriding context,
should be used when carrying out a certain kind of task. In software
development such sensible defaults might include things like “use version
control”, “separate UI logic from domain logic”, “automate deployment
pipelines”.
The term “sensible default” is a deliberate contrast to “best practice”.
Folks dislike calling things “best practice” because that term implies a
general presumption that the best practice is something we should always
expect to do. A “sensible default”, however, is something that should be
reassessed in a new context, something that can (and should) be overridden
when circumstances change.
I first heard the term when it was popularized within Thoughtworks by Evan
Bottcher. He got the name from talking to James Ross, and found the phrasing
appealing as carried the nuance he was seeking, a known-good starting
point.
Keep reading
Out of respect for the author only the opening is shown here. Read the rest on the original site, or in HorizonReader with highlights, notes and AI help.
Marcus Borg recounts an experiment to investigate if healthy code was cheaper for agents to review. Between a typical unhealthy pull request (CodeHealth 2.8) and a typical healthy one (9.7), that adds up to 22 to 35%. The measures of health
Data contracts are a way to describe the contents and guarantees of datasets. Simon Harrer and Arif Wider describe in detail what they are and how to use them. They apply practices from API design to data by treating them as data-providing
Distributed systems are hard to test because partial failures overlap with live traffic and the same fault can produce different execution traces on different runs. Unmesh Joshi describes how deterministic simulation testing addresses this
When we use LLMs in a specialized domain, such as the operations of any reasonably-large organization, there is a lot of specialized vocabulary. Such words and specialized meanings will be foreign to an LLM because they aren't in its traini
Automated testing in the age of AI coding assistants is problematic: when AI agents write both production and test code, developers risk losing the assurance that automated tests protect against functional errors. Matteo Vaccari makes three