How do i stop getting extremely frustrated & crybaby-ish when my code or program doesn't work when I want it to?

Posted by Xinfinte@reddit | learnprogramming | View on Reddit | 35 comments

i have ADHD and whenever my brain can't understand a coding concept or whenever my mod a made doesn't work, or whenever im following a tutorial and my screen shows completely different things than what the instructor is showing i get extremely frustrated, cuss alot, say I hate programming & computer science, and that this is a waste of time and there's no point in wasting my time in some bs that is actively trying to fight me. Then after a day and this same cycle happens all the time

I am getting so sick of getting so angry whenever something doesn't go exactly my way. I am intelligent enough to know that every single programmer ever has ran into a multitude of problems before and computers in general have to arrange certain things in very specific ways. There's no guessing or hand holding or mercy in alot of programming and i know that but i can't control those rage moments where I just want to throw my laptop into a wall when I can't figure out how to solve any of the problems I discussed in the first paragraph

I seriously do need help. Ever since I could remember i have always wanted to make my own games and make mods of video games, but as soon as something goes wrong I'm ready to smash my laptop into pieces. How do i stop this or at the very least lessen this emotional overwhelming?