4 ms·
This may seem crazy, but I have really found that the language makes a difference. Specifically, at least for me, any language that uses character-delimited co
by jMyles 11y ago
This may seem crazy, but I have really found that the language makes a difference.
Specifically, at least for me, any language that uses character-delimited control structures (ie, curly brackets to begin and end a function as with javascript or PHP) is far more haunting and sleep-stealing.
I have far less of a problem with python or ruby.
I don't know if it's some kind of spacial comfort issue or what, but I've had many nights where I lay away seeing curly brackets on the back of my eyelids, and it's awful.
Other things that have helped me:
* f.lux, as someone mentioned - this has more helped with eye strength, but sleep too
* martial arts (high impact exercise is a great way to change your mindset and get into a new one)
* sex, as someone else broke the ice on (sometimes at the end of a long day of coding I've got a lot of sexual energy)
* acro yoga (nice if you're pair programming because the poses are for two people)
* going for a drive (getting some earth under you is nice)
* taking some time to quietly look at the stars