6 ms·
I bet they also pulled out the "but the code will change and then the comments become invalid, or even gasp misleading"?
by more-coffee 4y ago
I bet they also pulled out the "but the code will change and then the comments become invalid, or even gasp misleading"?
- Gordonjcp 4y agoAbsolutely, and could not be convinced that if the code and comments got out of sync then it was likely that the function name would no longer make sense, and that's when we get real trouble. There were horror stories with that codebase, like index.php was set as the default error handler, started by immediately returning 200 OK before going anywhere near URL dispatching, and then displaying a page that said 404 despite returning 200 if it couldn't find the URL.