The difference between a medicine and a poison is dosage.
Often we talk about certain habits, in programming or life, are good or
bad. But few things are simple binaries. Some vary with context: reading a
book is a good thing sitting in my garden, but not while driving my car. But
another variable is dosage: a little pain-killer salves my headache, but too
much will kill me.
The importance of dosage was noticed by a 16th century Swiss physician
called Paracelsus. His quote was originally in German “Alle Dinge sind Gift,
und nichts ist ohne Gift; allein die Dosis macht, dass ein Ding kein Gift
ist.” which (according to
Wikipedia) translates as “All things are poison, and nothing is without
poison; the dosage alone makes it so a thing is not a poison.” It's also known
as “The dose makes the poison” or if you prefer your sayings in Latin “dosis
sola facit venenum”.
继续阅读全文
为了尊重作者,这里只展示开头几段。你可以去原文阅读,或者在 HorizonReader 里读:划线做笔记、让 AI 帮忙。
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