Skip to content
EntityQ3341· pop 28· linked from 11 articles

小黄鸭调试法

Sign in to save

Also known as rubber ducking

debugging method, in which a programmer explains code, line-by-line, to an inanimate object ("rubber duck") or to another person, until the incongruity between what the code should do and actually does becomes apparent

Wikidata facts

Instance of
technique
Subclass of
debugging
Named after
rubber duck
Image
Rubber duck assisting with debugging.jpg
Show 3 more facts
Commons category
Rubber duck debugging
described by source
The Pragmatic Programmer
Sources (2)

via Wikidata · CC0

Article · 中文

小黄鸭调试法,又称橡皮鸭调试法、黄鸭除虫法(Rubber Duck Debugging)是可在软件工程中使用的一种调试代码的方法。方法就是在程序的调试或测试过程中,操作人耐心地向小黄鸭解释每一行程序的作用,以此来激发灵感与发现矛盾。

Abstract from DBpedia / Wikipedia · CC BY-SA