さり海馬

Thoughts walk away, blog stays.

日々是アルジャーノン

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.
デバッグは最初にコードを書くことの2倍困難だ。 できるだけ賢くコードを書くなら、あなたは定義上それをデバッグできるほど賢くない。

  • Brian Kernighan

ものすごく身に覚えが。

コード書いているときって、一瞬だけ(俺基準で)天才になるときってないですか? そういうときに書いたコードって、その天才タイムが過ぎた後にはもう、理解できない。メンテするときになって読み返してみて、しばらく考えて、「……!! ああ、そういうことか。俺天才だ(ったんだ)な」とか思う。