Debugging at 2am in a coffee shop or at my desk with full focus which way works better
I was sitting in a crowded Starbucks last Tuesday trying to fix a loop that kept crashing my program. The wifi was lagging and someone kept dropping their cup lid, making me lose my train of thought. After 2 hours I got nowhere and just closed my laptop. Next day I set up at my home desk with no distractions and found the bug in 10 minutes, it was a misplaced colon. So which environment helps you code better as a beginner, the noisy real world or a quiet setup?