I was never good at practicing for practice sake but I also know of the value of "doing the work" to get better at a skill.
So, I become a better programmer when I'm actively working on something. I no longer contribute code on a regular basis at my day job so to stay sharp I've started creating little utility programs for personal use.
I've also started finding hobbies that incorporate some programming, generative art, robotics, etc.
tldr; find ways to incorporate programming into everyday life, practice by building things that are actually useful to you.
So, I become a better programmer when I'm actively working on something. I no longer contribute code on a regular basis at my day job so to stay sharp I've started creating little utility programs for personal use.
I've also started finding hobbies that incorporate some programming, generative art, robotics, etc.
tldr; find ways to incorporate programming into everyday life, practice by building things that are actually useful to you.