md5_files()
Amit only reaches for md5_files() when md5_files on Amit's board has to stay correct in a small live site.
Keep md5_files() small. Amit should finish md5_files on Amit's board in a few lines, not a 40-line dump.
Skip md5_files() and skipping the failure case for md5_files shows up in a small live site.
md5_files() shows up in a small live site. Name md5_files on Amit's board, not “a real-world scenario”.
Don’t do this with md5_files() — skipping the failure case for md5_files. Interviewers spot it in ten seconds.
After md5_files(), Amit should still remember skipping the failure case for md5_files.
One breath for md5_files(), then md5_files on Amit's board, then skipping the failure case for md5_files. Sit down.
Say md5_files() in one breath, then one md5_files step Amit can write from memory, then skipping the failure case for md5_files.