A lot of us get into programming because we enjoy it, but the realities of work often mean doing boring repetitive tasks. OP isn't suggesting that it's mandatory, just a way to keep from feeling burnt out, and I agree.
Additionally, if you're smart that time can wind up being compensated later. I wrote JavaScript on my own for 3.5 years before I started doing it professionally, and while I didn't get paid, it allowed me to eventually double my income, so I consider it a great investment.
> We don't expect this of other careers,
Sure we do. Doctors may be expected to read medical journals or keep up on the latest research, for example.
> Additionally, if you're smart that time can wind up being compensated later. I wrote JavaScript on my own for 3.5 years before I started doing it professionally, and while I didn't get paid, it allowed me to eventually double my income, so I consider it a great investment.
Great if you are young and have no commitments. Not so great if you are old and have many commitments.
Or are we expecting programmers to program after work even during their later years?
> Or are we expecting programmers to program after work even during their later years?
Look, OP suggested a strategy for not getting burnt out that works for them, and I'm just saying what works for me. You are the one who is turning this into some sort of "expectation".
If you don't want to code outside of work, and don't see value in it, don't do it. Nobody gives a rats ass.
Indeed doctors do, at least in the US although I don’t know how it works internationally. They’re called CMEs (continuing medical education) and they need to earn a certain number of hours per year
Additionally, if you're smart that time can wind up being compensated later. I wrote JavaScript on my own for 3.5 years before I started doing it professionally, and while I didn't get paid, it allowed me to eventually double my income, so I consider it a great investment.
> We don't expect this of other careers,
Sure we do. Doctors may be expected to read medical journals or keep up on the latest research, for example.