I have friends that enjoy knitting and sewing. Those are great pastimes made commercially unviable for most because of great leaps in logistics and automation. But they are absolutely valid and enjoyable hobbies.
And the skills they provide are transferable. Patience, attention to detail, staying on task.
At that point it’s probably worth taking a more mainstream hobby like music or dancing, you’ll have a much bigger community of passionate folks. I suspect that will happen to programmers as a hobby folks too, they might discover they like playing music instruments instead.
Not to mention your friends still enjoy receiving custom made knitted stuff as presents, or your neighbors if you see someone struggling. Or donate it somewhere, or put it in a display shelf to be reminded what you can actually do. Maybe in the future, programs and custom made hardware might be the same :)
It's just tough to hear a mainstream "impactful" line of work be compared to knitting and sewing. Say what you want but people thought that their work was necessary to the advancement of society, or at least something bigger than themselves. Whether you agree with them or not, reduction of the job to a hobby takes that away from them.