r/AskComputerScience • • Mar 19 '19

How do you switch off after a day of programming?

I feel like when I've been programming all day that I can't just switch off. Its like my mind is still wired in trying to do a thousand things a second and I can't stop thinking about my code, it keeps me awake at night occasionally. Has anyone got any tips on how to prevent this or chill out after spending the day behind the computer?

54 Upvotes

35 comments sorted by

25

u/[deleted] Mar 19 '19

Notebooks. I keep a Rocketbook specifically for taking notes at the end of a coding session. They're technically cheap because I just microwave them and they erase so I get more use out of them than a standard notebook.

The point is to write out the junk in your brain on a piece of paper so that you can mentally dump the knowledge only something physical. If it stays in your brain and you never move it to long term storage, it can sit there and clog your mental space. I don't know why but for some reason I forget about things I've written down much faster, and it doesn't keep me up at night.

8

u/gbay Mar 19 '19

Microwave?

3

u/[deleted] Mar 20 '19

1

u/ideletedmyredditacco Mar 20 '19

hmm an advertisement with no way to buy it

1

u/[deleted] Mar 20 '19

I don't work for them. Google them yourself.

1

u/ideletedmyredditacco Mar 21 '19

wait this is real? I thought it was a joke like the google router you flush down the toilet to get free internet

1

u/[deleted] Mar 21 '19

Not at all. I have this notebook and it works as intended. The trick is the paper is pretty hefty and the ink is this erasable stuff that when heated turns white. I used to use a ton of those sexy Moleskins for basic checklist notes before I realized I was totally wasting my money. I needed something reusable for junk notes, and more serious notes go into the expensive Moleskins. The Rocketbooks get about 3 re-uses before they're junk. But they're about $25, compared to Mokeskins that cost the same and get 1 reuse.

2

u/Elkripper Mar 20 '19

I just, seconds ago, finished typing a bunch of rough notes on my new coding project into a scratch file so that they wouldn't be in my head all night, and maybe I could sleep. Then I loaded Reddit and saw your comment. :)

63

u/CaptainBloodArm Mar 19 '19

Weed

7

u/scriptmonkey420 Mar 19 '19

And some Hard cider with a little Spiced Rum added.

4

u/CaptainBloodArm Mar 19 '19

And then you rarely might want to do psychedelics responsably, just to get your head on track. 😂👅

5

u/scriptmonkey420 Mar 19 '19

Shrooms while camping are the best.

4

u/5areductase Mar 19 '19

I read camping as compiling initially. I guess this thread is helpful.

14

u/[deleted] Mar 19 '19

Something mind numbing and dull, typically database administration.

17

u/alanbdee Mar 19 '19

Factorio or rocksmith. Be careful with factorio though, you might be better off with cocaine.

2

u/[deleted] Mar 19 '19

Yeeees! 0.17 is awesome!

8

u/dev_mike Mar 19 '19

I struggle with this too. I usually try switching context, cooking a meal and playing a video game or watching a TV show that is absorbing yet requires little to no brain.

8

u/squidgyhead Mar 19 '19

I bike home. It's super awesome.

4

u/4L33T Mar 19 '19

The adrenaline rush of almost getting run over really gets the blood pumping

3

u/squidgyhead Mar 19 '19

If that's your thing, then I guess.

I just ride bike paths, which makes for a more mellow time.

4

u/[deleted] Mar 19 '19

Go play a sport. If you don't have one, pick up running

2

u/lenticularis_B Mar 19 '19

Bought a rowing machine for some physical exercise. That really changes my focus!

2

u/strumberries Mar 19 '19

go to sleep and see the command line in my dreams

2

u/strumberries Mar 19 '19

also, The IT Crowd

2

u/[deleted] Mar 20 '19

Piano for me. Find something, anything

6

u/rnsbrum Mar 19 '19

cocaine

2

u/zenithk2 Mar 20 '19

I do that while programming.

1

u/[deleted] Mar 19 '19

Switch off... oh young one, THERE IS NO OFF ლ(ಠ益ಠლ

1

u/BumFudhe Mar 20 '19

I go lift heavy stuff. Its mind numbing.

1

u/AlliNighDev Mar 20 '19

Work on personal projects haha

1

u/jalagl Mar 20 '19

Take the dog out for a 30-45min walk. Always do this when I get home, dog loves it, and it is at least some physical activity.

1

u/[deleted] Mar 20 '19

do house chores cause I am female

lol

1

u/crasx1 Mar 19 '19

It takes some practice. I like to get out and do something physical like golf if I have the time - especially when i am stressed

0

u/[deleted] Mar 20 '19

[deleted]

2

u/reddevit Mar 20 '19

EDM, as in Erotic Database Management?