为什么每个模拟账户都叫 John DOE(一个 700 年前的理由)
2 分•作者: deep1283•6 个月前
你是否好奇过,为什么技术领域里的每一个表格、教程或演示账户都叫“约翰·多伊”?
这要追溯到中世纪的英格兰。
在14世纪,英国的法院有一个奇怪的法律技巧。当律师需要测试一个案件或提起涉及身份不明的人的诉讼时,他们会使用虚构的名字。最常见的名字是约翰·多伊和理查德·罗伊。
他们从来都不是真实的人,只是“某人”的占位符。
几百年后,法律系统继续使用它们,尤其是在某人身份不明的情况下。医院用它来指代身份不明的病人,警方报告用它来指代身份不明的嫌疑人。
然后,科技借用了这个想法。
当开发人员需要在表格、文档和测试账户的示例中使用一个安全、中立的名称时,他们采用了法律界沿用了数百年的相同占位符。
这就是为什么在几乎每一个注册表格中你都会看到:
姓名:约翰·多伊
一个存在于现代软件中的、有着700年历史的法律传统。
有趣的是,最古老的传统最终却出现在最新的软件中。
查看原文
Ever wondered why every form, tutorial, or demo account in tech is named John Doe?<p>The story goes back to medieval England.<p>In the 1300s, English courts had a strange legal trick. When lawyers needed to test a case or file a claim involving someone whose identity was unknown, they used fictional names. The most common ones were John Doe and Richard Roe.<p>They were never real people just placeholders for "someone."<p>Centuries later the legal system kept using them, especially when the identity of a person was unknown. Hospitals used it for unidentified patients, police reports used it for unknown suspects.<p>Then tech borrowed the idea.<p>When developers needed a safe, neutral name for examples in forms, documentation, and test accounts, they adopted the same placeholder the legal world had used for hundreds of years.<p>That's why in almost every signup form you'll see:
Name: John Doe<p>A 700-year-old legal tradition quietly living inside modern software.<p>Funny how the oldest traditions end up inside the newest software