I've been thinking why I do it? I think it's probably the little worlds of code I create and that I fully control and the pleasure of all the small accomplishements.
Does anyone else out here does this? Would love to hear it.
Because it gets you "in the zone", where you can temporarily forget the stress. Also, exerting control over something is a great way to deal with one's lack of control over something else.