No... For example, let's imagine a developer needs to find the source of a bug on a big rails app. All he knows of the bug is that a certain line of logged SQL should be near the location. He knows how to trigger the bug. A simple method call triggers a myriad of unknown things, one of which is where the bug lies. He gets the idea to write a method that takes a regex and a block and temporarily override the logging method while the block executes so that it outputs a backtrace when logging a line that matches the given regex. The method is called, the backtrace is output, and the bug is found.
Development ideas and methodologies like that don't appear in code.