I visualize way more things when daydreaming about machine learning theory than I do code. Possibly the main time I visualize code has to do with data structures. What I do notice, though, is that once I’ve iterated for too long on spaghetti code and it’s way past the point of comfortable familiarity, it does feel more explicitly like a “/not/ being able to see through the fog any more” feeling.