If you think the dreams are weird how about this. There was a period when I was was spending a lot of time writing code every day. And there were some nights where I'd fall asleep then partially wake up and look at the window to see light cast on the curtain in a way that would sometimes spell a message that helped me debug, figure out a problem, or discover a new technique. Or give me an idea for an operating system…
Ask HN: Does anyone dream of code?
131–140 of 146 posts
Re: Ask HN: Does anyone dream of code?
#132Earlier quoted context omitted.
Yes, I've been doing this for at least a couple years. I've been writing various kinds of code for money since 1995, and no change has ever been as helpful to me as this one. It's just a suggestion. Not everyone will like it or agree to seriously try it. I don't think it would necessarily work well for someone who's forced to use a certain editor or configuration at work, for example (and probably continues to rely o…
Out of curiosity, what languages are you using when you do this? As a primarily Python and Haskell writer, I have no idea what you're talking about with this "unchain your mind from syntax" stuff- though I guess that in Python the syntax may be so expressive as to be no cognitive restraint, and in Haskell binding your thoughts with syntactical structure is the point .
In principle I could imagine some languages might exist in which the concerns of developers are so confined to the smallest language bits and pieces -- at the expense of bigger-picture concerns -- that the drag of ever-present syntax cues is less of a drag.
But even from what I've seen of Haskell I can't imagine wanting to have those cues in my face all the time, unless I'm either learning the language or at my wits end trying to locate a (maybe) syntax bug ... in other words, when I'm not really writing or reading code. If anything, its proximity to math might make me more eager to be free of those cues.
I think in just about any significant code-making effort, we'll need to be able to think clearly about the meaning and intent of chapters, pages and paragraphs (and maybe sentences) without hundreds of little tethers constantly reminding us about commas and parentheses and subject-verb agreement.
All I can say really is that I had no idea how much of a drag those syntax cues were until I got used to being without them. Nobody has to do it just because it worked for me (and others). It's just a suggestion.
Re: Ask HN: Does anyone dream of code?
#133Re: Ask HN: Does anyone dream of code?
#134I started out in system administration and network engineering before switching to programming. I once had a dream that my cigarette needed an IP address before I could smoke it.
Re: Ask HN: Does anyone dream of code?
#135Re: Ask HN: Does anyone dream of code?
#136Re: Ask HN: Does anyone dream of code?
#137When I go to sleep after having worked on something complex and didn't fully resolve it, I'll almost always dream about trying to solve it. Sometimes I see code, sometimes it's more abstract, but it's always disconcerting. My wife says I mumble things like, "I'm pretty sure 'also' is a keyword unless I'm losing my mind and need to check the documentation"
Re: Ask HN: Does anyone dream of code?
#138Re: Ask HN: Does anyone dream of code?
#139Re: Ask HN: Does anyone dream of code?
#140I started out in system administration and network engineering before switching to programming. I once had a dream that my cigarette needed an IP address before I could smoke it.