Live data from Hacker News

Ask HN: Does anyone dream of code?

news.ycombinator.com

71–80 of 146 posts

Re: Ask HN: Does anyone dream of code?

#72
Usually when I'm learning a new programming language or technique, and just at the point where I'm starting to grok it but still having challenges, I'll dream that I'm programming in that language. Usually a day or two after that, I'll feel like I've finally acquired that skill. I remember this very clearly happening when I was about 22 and was playing around with Javascript and AJAX calls. It happened a couple other times after that, I think when learning Objective-C for iOS too, and maybe once again when learning how NSLayoutConstraints work.

Re: Ask HN: Does anyone dream of code?

#73
When I was learning Haskell, I had a coding dream with a twist.

In that dream, I wrote small programs, compiled and executed them. The twist was that the result of the execution was presented to me in the form of physical constructs, composed of square hollow section pipes welded together.

I would then walk around the structure, examine it, and wonder, why a particular part of the structure is welded to the whole structure diagonally, instead of a 90-degree angle. Must be a bug somewhere.

Re: Ask HN: Does anyone dream of code?

#74
Yes, when I'm utterly engrossed in a problem, like when my routine is basically eat, sleep, work and repeat. I dream about it as well.

It isn't limited to code, when I was a kid I used to wake up dreaming of Tiberium Sun, and Red Alert 2. It's lately been code though.

Re: Ask HN: Does anyone dream of code?

#75
I had this happen a lot when I first started out but not so much anymore for some reason.

One thing I remember that has always amused me is how I would dream about this amazing code. It was so amazing that I would simply have to wake up so I could write it down. But, the few times I could actually wake myself up, as soon as I thought about it (before it quickly faded away) I said to myself, "WTF was that? There's no way that would work!"

Re: Ask HN: Does anyone dream of code?

#76
I have done this from time to time, when I was really stressed, and working too many hours.

Once my life went back to a sane pace, where I could enjoy some personal free time, the problem went away.

Now I have a baby and I dream of diapers.

Re: Ask HN: Does anyone dream of code?

#77

When I was learning Haskell, I had a coding dream with a twist. In that dream, I wrote small programs, compiled and executed them. The twist was that the result of the execution was presented to me in the form of physical constructs, composed of square hollow section pipes welded together. I would then walk around the structure, examine it, and wonder, why a particular part of the structure is welded to the whole str…

I had a somewhat similar dream where I had an epiphany that everything in the universe is controlled by code, which I had the privileges to edit for some reason. I remember typing some HTML (`` and ``) to create these small physical blocks. Slapping the blocks on either side of any object would turn it red!

Re: Ask HN: Does anyone dream of code?

#78
Not code specifically, but I sometimes dream about humans in some form of "modular" sense. Like if their feelings would be contained in one class/part of a program, or their torso would be accessed via methods or something like that.

As someone else mentioned, it's likely the tetris effect. I had a similar feeling while playing the game "triple" town where you want to match three bears items next to each other, I kept seeing items and people in terms of "are they next to each other" while walking around (especially when a bit of alcohol was involved).

Re: Ask HN: Does anyone dream of code?

#80

When I was learning Haskell, I had a coding dream with a twist. In that dream, I wrote small programs, compiled and executed them. The twist was that the result of the execution was presented to me in the form of physical constructs, composed of square hollow section pipes welded together. I would then walk around the structure, examine it, and wonder, why a particular part of the structure is welded to the whole str…

I had a somewhat similar dream where I had an epiphany that everything in the universe is controlled by code, which I had the privileges to edit for some reason. I remember typing some HTML (` ` and ` `) to create these small physical blocks. Slapping the blocks on either side of any object would turn it red!

Span shouldn't be blocs! You are dreaming wrong! :)
Post reply on HN