I had a similar change of interest several years back when I started running regularly. Found some great books and other resources on technique, training plans, nutrition, physiology, psychology. Paid close attention to various fitness and form stats I could record. It was a fun and rewarding process though the feedback cycle is way less immediate than coding (on the order of weeks/months).
I’m much more relaxed about it now but that intense period set me up well.