Code sober, debug drunk

from blog Rafał Pastuszak, | ↗ original
↗ original
The main reasons I write tests are: reduced cognitive load, improved communication with my peers, ability to sleep at night. Testing allows me to split hard problems into chunks small enough to fit in my head. I'm young, but with every passing year as a software engineer more and more often I wonder whether these chunks are becoming smaller...