76

I had been trying to fix a bug for the whole day, I decided to sleep for a while. During my sleep, I dreamt I was working on the code and I fixed the issue. I woke up, tried what I did in my dream and it Worked! I was so confused and happy

Comments
  • 3
    Very nice for you! It happened to me once aswell. Insane feeling. Motivation for sleeping haha😂.
  • 4
    Finally! I'm not crazy at all.
  • 4
    Same happened to me. Not a professional developer though. I was writing a simple script in python to fetch the result of my college. Got struck on somewhere in calculating number of passed and student. Later I dreamt about same script, I added a function to return whether the student has passed or failed and another function to calculate number of student passed or failed. Then I woke up at mid night and coded the same way I dreamt. That was a dream come true. This was the most creative and useful thing I have ever coded!
  • 4
    Your sub-conscious can do wonders. I think when your mind relaxes it is able to solve problems. I often think of solutions and new ideas on very long walks.
  • 2
    @eskipepsi I thought I was going mad 😂
  • 0
    @haroldcampbell Finally! 😂
  • 1
    @sachin38 The brain is a powerful thing !
  • 1
    indeed! @nullspace
  • 0
    @Jumpshot44 I will try that as well, but it's amazing how powerful the brain is.
  • 1
    so when u are having hard time solving coding problems, try sleeping
  • 1
    Sometimes your brain just needs a rest 😉
  • 0
    me too
  • 0
    That's how this whole business operates
  • 0
    been there, done that
  • 0
    @haroldcampbell no no. You are crazy. Just not the only one. :p
  • 0
    I'm not alone after all
  • 0
    Happens all the time to me!
Add Comment