Mmastodon TechnologySoftware first seen 12 h ago, last 12 h ago, peak #9
The argument that laws work like unit tests
Original: A test of a statute looks like a test of code, with three differences: silence is a passing... # testing # programming #
A comparison circulating among software developers draws an analogy between legal statutes and unit tests in programming, noting three key differences: in law, silence counts as passing, among other distinctions. The framing is being shared in engineering and open-source circles as a way of thinking about how legal language behaves like, and unlike, executable code.
Why now: The analogy between law and software testing is striking and resonates with a programming-literate audience.
unit testinglawsoftware development
Evidence
- A test of a statute looks like a test of code, with three differences: silence is a passing... # testing # programming # dsl # opensource # software # coding # development # engineering # inclusive # community The Law Has Unit Tests · hackaday@www.urbanmind.net · 3
API: https://socialmediatrends-api.osmike.com/v1/trends/1151095