What's bad about coding? You can work for hours with nothing to show for it

Last Saturday, I spent several hours working on my website’s code. I added some new meta tags to lazy load images, tried to remove JQuery dependencies from my scripts, added enhancements for accessibility and structured data, and even created a pull request for the theme that I am using (Beautiful Hugo). Basically, five hours of my day were eaten up by completing those tasks. Although this was another example of getting too absorbed in your side projects, I was actually proud of myself.

Happiness and Anticipation

I am beginning to see the relationship between happiness, anticipation and dopamine. Dopamine is a neurotransmitter that is responsible for reward-driven behavior and pleasure seeking. (Psychology Today). When we get a hit of dopamine, we feel good! Anticipation is the simple act of looking forward; usually to a pleasurable experience but it could also be negative. In my previous post about Proven Ways to be Happy Again, I mentioned this thing called hedonic adaptation.

Scientifically Proven Ways to Be Happy Again

During the winter holidays (peek depression season), I took a free online course called The Science of Well-Being offered by Yale University. It was actually recommended in a HackerNews comment that I came across in a thread about different MOOC (Massive Online Open Courses) to take. Other than my obsession with self help porn, I took this course because I wanted to learn on how to be happy again with life.