Consistency!
4 years ago I started writing a public Ruby on Rails development log - https://blog.corsego.com/
Now the humble blog has 279 articles, and gets 200 unique visitors per day.
Documenting my learnings made me a much better programmer.
"Learn by teaching" works.
If you are a programmer and you don't have a blog - start one, now!
One regret? I wish I started blogging earlier! At least in 2015, when I started my programming journey.