坎宁安定律
想在互联网上获得正确答案,有时最有效的方式不是提问,而是先发布一个错误答案。
显示原始英文内容
Cunningham's Law
The best way to get the correct answer on the Internet is not to ask a question, it's to post the wrong answer.
Takeaways
- People online love correcting errors. If you're stuck on a problem, sometimes proposing a solution (even if it might be wrong) can get you to the right solution faster.
- Asking a question might evoke only silence, but confidently stating something (even if incorrect) often provokes a reaction.
- Instead of endlessly asking 'How should we do X?', propose a draft or prototype. Even if it's not entirely correct, having a concrete starting point often gets more feedback ('No, not like that, do it this way').
Overview
Cunningham's Law arose in the context of online communities, particularly wikis and forums. The underlying observation is that assertions draw more engagement than questions. On Wikipedia, if someone posts incorrect information, other editors will rush in to fix it.
In software engineering, you see this on Stack Overflow and mailing lists. A user asks a question and gets few responses, but if someone posts a slightly wrong answer, others quickly chime in to correct it. By putting something out there, you transform a passive question into an active discussion.
Examples
A developer stuck on configuring an open-source library posts a question and gets no replies. Using Cunningham's Law, they post: "For anyone else struggling, the solution is to set ConfigMode to False." If wrong, someone (possibly the library maintainer) will quickly reply: "Actually, no, you should leave ConfigMode true, it's another setting you need to change."
A new developer uncertain about implementing a feature submits a pull request with their best attempt rather than asking in the abstract. Senior engineers review it and point out improvements. By presenting a "proposed answer," the developer gets the team's knowledge and ends up with the right approach.
Origins
Cunningham's Law is named after Ward Cunningham, the American programmer best known for creating the first wiki software. The actual phrasing of the law is often attributed to a colleague of Cunningham, Steven McGeady, who formulated the adage and named it after Cunningham.
According to McGeady, Ward Cunningham gave him advice in the 1980s regarding early internet forums (Usenet), and McGeady later described it in a comment on a New York Times blog in 2010.
The irony is that Ward Cunningham's invention, the wiki, is a platform built precisely on the idea that people will collaboratively correct and improve content.
The French have a proverb, "Prêcher le faux pour savoir le vrai" (preach the false to know the true), which captures a similar concept.
核心含义
一个具体的草案或假设,通常比抽象问题更容易引发反馈。人们可能不愿主动回答“应该怎样做”,却会迅速指出一个具体方案哪里不对。
这条规律鼓励先做出可讨论的原型、设计稿或实现,而不是在等待完美答案的过程中停滞。
实践例子
开发者不只是询问“这个库怎么配置”,而是贴出自己的最小实现和遇到的错误。维护者可以直接指出配置项、版本或理解上的问题,讨论会更快收敛。
来源与边界
这条说法以 Ward Cunningham 命名,常用于描述 Wiki、论坛和技术社区中的协作行为。故意发布误导性内容会损害信任,重点应是提出可验证的工作假设。