Have you ever felt bored at your workplace? Horrible feeling, isn’t it? Especially if you have some tasks to work on, but you just don’t have the energy to do it. The easiest fix to this problem is to just go home earlier that day (if the company policy allows it) and do something you really love. These long afternoons may help dealing with demotivation at work at that moment, but not always works on the long run.
I am pretty sure each software developer has been thinking at least once about dumping his/her workplace and getting into freelancing. I have always been dreaming about being my own boss, being able to accept only projects that are really interesting and of course having a flexible schedule. And by flexible schedule I mean to be able to work 3 hours one day and 12 on the next. Or working two hours from 7 to 9 in the morning and then again work a few hours in the evenings.