Something else I learned is that mental imagery[1] isn’t limited to just visual experiences. As a musician, I use it to hear intervals, hear the strong beat, hear chords, different timber / sound textures etc. You can also "visualize" smells, physical sensations, and more. I clearly see it as a skill that improves with time and effort.
One nice trick is being able to visualize conversations, dialogues, interviews etc. I believe it dramatically helped me overcome stress in those situations, as well as in performance.
I do think there’s a better way to practice than this tho:
the best way for me to improve a visualization is to research all the different tools and diagrams out there
Namely—and I say this with complete seriousness-psychedelic drugs, above all else LSD. I’m very dubious of the Steve Jobs of the world claiming it changed their intellectual outlook, but in terms of resolving “visual noise” based on intentional parameters, it can’t be beat. That’s what LSD visualizations mostly consist of in the first place, and a lesser form of the effect lasts for months after one dose, and indefinitely (forever?) after regularish usage. It’s non addictive and has a brutally steep tolerance curve that lasts for 2-4w, so “regular usage” means once every few months for a year or two, not every day.Long story short: if you want to be a better programmer, contact your local felon today! Surely y’all are cooler than me and have cool felon friends…