The Single File Doctrine

I already wrote about building 48,000 lines in one file. This isn't about that. This is about when one file is actually the right architecture — and when it's a trap.