TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: What's going on in your head when you program?

4 pointsby krazemonalmost 9 years ago
My interest in this was re-sparked after reading through the comments on https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=11162927. When you code, do you hear an internal voice, see the program&#x27;s structure in your mind&#x27;s eye, translate directly from some internal abstract structure, or a mix? What about when doing other forms of problem solving, technical thinking, or writing?<p>I do a mix and have noticed different strategies work well for different types of work. For example, rubber duck debugging (using an internal voice) seems to allow me to slow down and think through all of the reasons something can be broken, whereas writing boilerplate code seems to be the least painless when I &quot;turn off&quot; the internal monologue.<p>I hope that gathering a variety of experience can not only show the spectrum of differences but allow people to experiment with different strategies.

2 comments

krazemonalmost 9 years ago
Some background links:<p>- Talking to an imaginary friend as a way to increase understanding: <a href="http:&#x2F;&#x2F;the-programmers-stone.com&#x2F;the-original-talks&#x2F;day-1-thinking-about-thinking&#x2F;" rel="nofollow">http:&#x2F;&#x2F;the-programmers-stone.com&#x2F;the-original-talks&#x2F;day-1-th...</a><p>- Rubber duck debugging: <a href="http:&#x2F;&#x2F;c2.com&#x2F;cgi&#x2F;wiki?RubberDucking" rel="nofollow">http:&#x2F;&#x2F;c2.com&#x2F;cgi&#x2F;wiki?RubberDucking</a><p>- Characteristics of an effective internal dialogue: <a href="http:&#x2F;&#x2F;journalpsyche.org&#x2F;articles&#x2F;0xc091.pdf" rel="nofollow">http:&#x2F;&#x2F;journalpsyche.org&#x2F;articles&#x2F;0xc091.pdf</a>
quickbenalmost 9 years ago
I see the final form, across x levels of inheritance and threads, and just mash c++ with some loud trance music + lots of coffee.<p>Debugging though, that takes very carefully selected quiet music, zen thoughts, and even more coffee.<p>:)