was tearing my hair out yesterday for HOURS trying to diagnose a programming bug last evening. i went to sleep, woke up, had a cup of coffee, looked at it for literally 5 minutes, and fixed it immediately
if youre a newbie programmer, the best advice i can give you is just... go the fuck to sleep honestly