Live data from Hacker News

What do you visualize while programming?

dillonshook.com

141–150 of 176 posts

Re: What do you visualize while programming?

#141
Relationships and sequences.

But if you want to talk about REAL complex systems talk to a microprocessor logic owner or architect trying to shoot a bug.

A while ago we found a bug that could crash a system (fixed in a new RIT of the chip) if we did X then Y in state … we didn’t know.

Listening to the various leads for the sub-units on a phone call trying to reason about what was happening I found myself visualizing this increasingly complicated steam powered machine, with parts sprawling, tiny gears whirring, and bits zipping about whenever X happened.

It was humbling.

Re: What do you visualize while programming?

#142

Earlier quoted context omitted.

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 ;)

It's always that idiot! Whish he wouldn't keep following me from job to job.

Re: What do you visualize while programming?

#143
I don't visualize anything while programming, most of the time, but once when I was learning how to do recursion, an entire program popped into my head while I was falling asleep, I could see it floating there in front of me.

This happens when I get really OCD about things. I start to visualize fully-formed solutions to problerms. For a while I thought this was a superpower, but after experiencing it a few times, I noticed that when I got OCD, I couldn't be around other people, and my physical health dropped noticeably as I ignored food. I suspect a number of well-known mathematicians experience this.

Re: What do you visualize while programming?

#144
I don't think I visualize anything when programming. It's more like I'm assembling a factory, conveyor belts, cogs, switches and stuff. I just know where everything is.

I'm still not sure if I have aphantasia or not. I can't "see" things/scene/items in my minds eye. What does it mean to "see" thing in your mind? I'd say for me it's much more like imagining smells, texture and taste.

How strong is this "seeing" part. Can people actually close their eyes and all but SEE whatever item/scenery they want?!

Re: What do you visualize while programming?

#146
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.

Re: What do you visualize while programming?

#147
I used to be a ruby developer and was almost 100% in auditory mode - never visualizing anything other than a UX and how I thought they’d be used.

Later in my career I became a solution architect and it was a struggle early. I think something like 99% of people in corporate are visual and literally could not understand the solutions I’d vocalize even when I’d talk to them like they were 5 years old. A more seasoned architect told me taught me sequence diagrams and abstractions. I got good at Powerpoint and my programming skills suffered as a result of using different parts of my brain more and less.

Re: What do you visualize while programming?

#149
post #121
post #29

Earlier quoted context omitted.

Yeah this is me too - which is why I enjoy turn based games while I’m coding, if I get stuck I distract my consciousness with 2-3 turns in Civilisation and the answer pops into my head while I’m playing. Turn based is excellent because always I’m mid-turn when the answer comes so I alt-tab out and keep going. My steam shows some ridiculous number of hours in game because it’s always on, nearly 24/7, in a window on my…

Very interesting. Any turn-based games you'd recommend for someone who's completely new to them? I have zero knowledge in that area but would love to try it out.

Try Civilisation, probably start with the current one - Civ 6

Then if you like it you can work your way backwards

If you like a more futuristic setting then Endless space 2. Or civilisation beyond earth is really fun to colonise another planet and research futuristic technology and alien biology.

If you like puzzle games with no time pressure SpaceChem.

These are my favs

Re: What do you visualize while programming?

#150
post #76

what is this new trend lately of having aphantasia? never read/heard this before from the HN audience. bots are increasing on HN it seems.

What's the hypothesis for why we're suddenly getting an influx of bots who seem particularly interested in discussing aphantasia?
Post reply on HN