Live data from Hacker News

What do you visualize while programming?

dillonshook.com

131–140 of 176 posts

Re: What do you visualize while programming?

#131
my arithmetic and algebraic skill, improved after trying to learn drawing.

- Doing multiple operations at once without writing down the intermediate reault.

- Operations on larger expressions with more terms.

- Basic operations on more digits.

I basically didn't do much maths for a year, but improved by a 40%+ by practicing something seemingly unrelated.

Re: What do you visualize while programming?

#132

I don't have aphantasia (I can picture people and things if I want to) but unless I'm building a user interface, my thinking is completely non-visual when I'm programming or thinking about systems or data. When someone asks me to draw an architecture diagram or a diagram of our production infrastructure or whatever, I am very slow at it and the result is usually middling at best, because my mental model of those thin…

I've tried testing to see if people grasp architectural diagrams, and they basically do not succeed at it past a trivial case. You're likely just more honest.

Re: What do you visualize while programming?

#133

I don't have aphantasia (I can picture people and things if I want to) but unless I'm building a user interface, my thinking is completely non-visual when I'm programming or thinking about systems or data. When someone asks me to draw an architecture diagram or a diagram of our production infrastructure or whatever, I am very slow at it and the result is usually middling at best, because my mental model of those thin…

Yeah I'm the same. I can visualize my house. When debugging and there are large number of numbers in systems to keep track of then arranging the systems on a piece of paper just to quickly find the numbers associated with each system helps, but beyond that when thinking about code it is all maths with no spacial or visual component, just logical statements and reasoning. E.g. When I think of a shuffle-shard I don't visualize the sets, I just think, subsets of size k.

Re: What do you visualize while programming?

#135

There seem to be a bunch of folks for whom shaking the legs is an important part of the process. Can be a bit distracting to others in a team workspace. It makes me wonder whether they should have bicycle desks.

As long as we stay remote my leg shaking won't be a problem. If we have an RTO we aren't going to have words, just legs.

Re: What do you visualize while programming?

#136

I personally have aphantasia, and, funny enough, I don't visualize anything when I'm coding, or reading code: I just understand the concept more or less deeply, but always without any images: It's just the "concept" that I understand. It's really like if I had an interpreter in my head when reading and when coding, I do the opposite: I know the required sequence and I reverse engineer it to the programming language v…

I don’t have aphantasia but I visualize nothing when I code. Only words, verbs, and sentences (classes, variables, statements). I also visualize me smiting the previous programmer who wrote the awful code that I have to work on but that’s another story.

And then you run git blame to see who to smite and turns out you wrote the code two years ago ;)

Re: What do you visualize while programming?

#137

In an extended chapter of Mythical Man Month, Fred Brooks described his practice of screening candidates for number-form synesthesia by asking “where is November?” I have number form so when I was young and originally read this I thought it was pretty neat. But as evidenced in the rest of this thread, it’s an absolutely crazy practice since the majority of great programmers don’t have it. And I assume it’d be illegal…

When I read your question of "where is November" I immediately had a floating number line in my head and November was "somewhere on the right side" and I instinctively wanted to point to my right and say "over there!".

I don't really see things in a very clear way though. I can't specifically examine things. When I try the "image" tends to slip. I can't get details. It's more a general idea in my mind. So I'm really not good at visualizing a UI and whether it would look good to place a button in a specific place for example. But if I think of our app for example I do immediately have a "picture" of what it looks like in my head.

Re: What do you visualize while programming?

#138

I don't have aphantasia (I can picture people and things if I want to) but unless I'm building a user interface, my thinking is completely non-visual when I'm programming or thinking about systems or data. When someone asks me to draw an architecture diagram or a diagram of our production infrastructure or whatever, I am very slow at it and the result is usually middling at best, because my mental model of those thin…

I've tried testing to see if people grasp architectural diagrams, and they basically do not succeed at it past a trivial case. You're likely just more honest.

But, to be fair, I found that the very basic architectural diagrams often are the most useful, especially when introducing someone new. Like three nodes connected with three lines shows the data flow (or who calls who).

More complex diagrams are often a waste of time and get outdated soon anyway.

Re: What do you visualize while programming?

#140

I don't have aphantasia (I can picture people and things if I want to) but unless I'm building a user interface, my thinking is completely non-visual when I'm programming or thinking about systems or data. When someone asks me to draw an architecture diagram or a diagram of our production infrastructure or whatever, I am very slow at it and the result is usually middling at best, because my mental model of those thin…

I'm similar.

I think I would visualize architecture diagrams if they were a good visual representation of how software works, but honestly I think they suck.

As to richard feynman, I think of the other chapter in his book, the one where he invents a whole new math thing without greek letters. But it turns out that his perfect island utopia can't communicate with others and he falls back to the imperfect accepted way of greek letters.

Post reply on HN