It's ok to have a hobby. Not everything needs to be minmaxed to extract the maximum amount of money from the system.
a sport maybe a hobby. running a sportsclub is volunteer work. writing code for fun is a hobby, publishing and maintaining it for others should be volunteer work.