Live data from Hacker News

Ask HN: Sunday brunch question: Do you dream in code?

news.ycombinator.com

1–10 of 15 posts

Re: Ask HN: Sunday brunch question: Do you dream in code?

#6
post #5

Very rarely, however I do know a developer who dreamed a full day's work where he solved a big problem and was then really confused when all of his hard work didn't exist the next morning.

did it help him arrive at a solution? i've seen a few people who have that experience - the fact that they could have a solution in a dream helped them solve the problem

Re: Ask HN: Sunday brunch question: Do you dream in code?

#7
post #5

Very rarely, however I do know a developer who dreamed a full day's work where he solved a big problem and was then really confused when all of his hard work didn't exist the next morning.

I've certainly woken in the middle of the night to write things down. In the cold light of day they're rarely as exceptional as they seem at 2am...

Re: Ask HN: Sunday brunch question: Do you dream in code?

#8
post #6
post #5

Very rarely, however I do know a developer who dreamed a full day's work where he solved a big problem and was then really confused when all of his hard work didn't exist the next morning.

did it help him arrive at a solution? i've seen a few people who have that experience - the fact that they could have a solution in a dream helped them solve the problem

This is a human behavior with a long, very interesting history. Chemist August Kekule supposedly was trying to sort out the chemical structure of Benzene, dozed off, and dreamt of a snake with his tail in his mouth:

http://en.wikipedia.org/wiki/August_Kekul%C3%A9#The_ouroboro...

There are many other similar stories of various kinds of technical problems being solved during sleep and/or while dreaming.

Re: Ask HN: Sunday brunch question: Do you dream in code?

#9
I've dreamt in code a few times, but here is my favorite story.

After a long 14 day I drifted off to sleep on the subway. I had a dream in SQL about trying to figure out the best way to set up the moment with a girl I liked so I could go in for a kiss. For some reason, it involved alot of table joins and sub-queries. When I woke up, I realized I had the solution to the de-duplication problem I had been working on all day!

Re: Ask HN: Sunday brunch question: Do you dream in code?

#10
Not regularly, but I've found bugs twice whilst dreaming ... and it's amazing when it happens!

Dream consists of looking through code... then suddenly notice something in my dream-code that isn't quite right and fix it. If I wake up I know it was a dream but am left wondering if it's a bug in real life...

Twice it has been. Brains are weird.

Post reply on HN