Skip to main content

Debugging

· One min read

Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.

剛開始時,除錯比起寫程式要難上兩倍。因此,如果你將程式寫得聰明無比,你必然不夠聰明以至於能除錯這個程式。

—Brian W. Kernighan, co-author of The C Programming Language and the "K" in "AWK"