View Poll Results: Do you dream in code?

Voters
11. You may not vote on this poll
  • FALSE -- this never happens to me

    5 45.45%
  • FALSE -- it's not code, you just think that it is

    4 36.36%
  • TRUE -- and very irritating

    2 18.18%
  • TRUE -- hilarious and/or inspiring

    4 36.36%
  • TRUE -- but seek help ASAP

    2 18.18%
Multiple Choice Poll.

Dreaming in Code?

This is a discussion on Dreaming in Code? within the General Discussions forums, part of the Community Boards category; I don't remember if I have or not. The code itself would not be coherrent if you dreamt it. The ...

  1. #16
    Algorithm Dissector iMalc's Avatar
    Join Date
    Dec 2005
    Location
    New Zealand
    Posts
    6,299
    I don't remember if I have or not. The code itself would not be coherrent if you dreamt it. The idea might be, but the code would not.
    Next time you manage to think of it in a dream, write down two three-or-more-digit numbers and try to add them together. Then check your math.
    My homepage
    Advice: Take only as directed - If symptoms persist, please see your debugger

    Linus Torvalds: "But it clearly is the only right way. The fact that everybody else does it some other way only means that they are wrong"

  2. #17
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,046
    I don't think you can really dream in code -- that level of detail is too much for your brain to focus on while you're asleep. At least it would be for me. Maybe if there's a tricky problem that I might dream in code about I tend to stay up so late thinking about it that I'm too tired to dream. :P

    But dreaming about slightly more abstract ideas related to programming? Certainly. I distinctly remember dreaming about tetris for more than one night when I was developing my first tetris game, for example. Several times I have dreamt about using a program I am developing, or replaying in a dream the process I used to fix bugs in it, or envisioning what I would like it to look like. Or I'll dream about my process of coding, writing text and looking things up and switching between files.

    And I also dream about, shall we say, worlds with very structured rules. I'll explore some world in a dream where I'm trying to achieve some goal, but there are only certain places I can go or certain actions I can perform. Sometimes I'll be able to do something like float slowly around in the air like a glider, but it doesn't seem strange, it's just another rule of the world I'm dreaming about. Restrictions or goals rarely seem frustrating to me, it's as if my brain is just exploring a world that's laid out for it.

    I think that's the essence of my dreams. My brain combines everything I've been doing or thinking about into one world and just explores it to see what's possible. Sometimes I pick pretty bizarre elements from completely different things and combine them into a world. Often it really doesn't make much sense after I wake up. I've definitely come up with a lot of good ideas while dreaming, though, so it seems to have its benefits . . . .

    An interesting point is that I certainly think in code while I'm awake. And I don't seem to have much trouble switching my mind into "C mode" or whatever and think only in that language. At the same time if something is really stumping me, I'll often think "Gee, this would be so much easier if I had default parameters" or "this would be so simple in Haskell". I think it truly makes you a much better programmer to be exposed to as many languages as you can be. But I'm going off topic now, so I'll stop.
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Extended ASCII Characters in an RTF Control
    By JustMax in forum C Programming
    Replies: 18
    Last Post: 04-03-2009, 08:20 PM
  2. Enforcing Machine Code Restrictions?
    By SMurf in forum Tech Board
    Replies: 21
    Last Post: 03-30-2009, 07:34 AM
  3. Obfuscated Code Contest
    By Stack Overflow in forum Contests Board
    Replies: 51
    Last Post: 01-21-2005, 03:17 PM
  4. Interface Question
    By smog890 in forum C Programming
    Replies: 11
    Last Post: 06-03-2002, 05:06 PM
  5. Replies: 0
    Last Post: 02-21-2002, 05:05 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21