Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. What do you do when you get stuck?

What do you do when you get stuck?

Scheduled Pinned Locked Moved The Lounge
comhelpquestion
18 Posts 15 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R R tsumami

    Just wondering what most of you do when you get stuck on a piece of code or something that does something it’s not supposed to do or just doesn't work.

    saru mo ki kara ochiru (even monkeys fall from trees) Usualy i'm that monkey. If you want an intelligent answer, Don't ask me. To understand Recursion, you must first understand Recursion.

    L Offline
    L Offline
    Lost User
    wrote on last edited by
    #4

    I stare at it for hours and then give up and go for a drink; when I come back it looks so much clearer. ;)

    Just say 'NO' to evaluated arguments for diadic functions! Ash

    1 Reply Last reply
    0
    • R R tsumami

      Just wondering what most of you do when you get stuck on a piece of code or something that does something it’s not supposed to do or just doesn't work.

      saru mo ki kara ochiru (even monkeys fall from trees) Usualy i'm that monkey. If you want an intelligent answer, Don't ask me. To understand Recursion, you must first understand Recursion.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #5

      I take it to codeproject, to google, if answers are not close it might be a logical problem then I go to facebook forget about code for several hours then answer comes as i watch a movie.

      I only read newbie introductory dummy books.

      C 1 Reply Last reply
      0
      • R R tsumami

        Just wondering what most of you do when you get stuck on a piece of code or something that does something it’s not supposed to do or just doesn't work.

        saru mo ki kara ochiru (even monkeys fall from trees) Usualy i'm that monkey. If you want an intelligent answer, Don't ask me. To understand Recursion, you must first understand Recursion.

        OriginalGriffO Offline
        OriginalGriffO Offline
        OriginalGriff
        wrote on last edited by
        #6

        Debug it. :laugh:

        Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.

        "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
        "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

        1 Reply Last reply
        0
        • R R tsumami

          Just wondering what most of you do when you get stuck on a piece of code or something that does something it’s not supposed to do or just doesn't work.

          saru mo ki kara ochiru (even monkeys fall from trees) Usualy i'm that monkey. If you want an intelligent answer, Don't ask me. To understand Recursion, you must first understand Recursion.

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #7

          Go to the toilet. I seem to get all my best ideas, moments of inspiration when stood at a urinal.

          Every man can tell how many goats or sheep he possesses, but not how many friends.

          1 Reply Last reply
          0
          • R R tsumami

            Just wondering what most of you do when you get stuck on a piece of code or something that does something it’s not supposed to do or just doesn't work.

            saru mo ki kara ochiru (even monkeys fall from trees) Usualy i'm that monkey. If you want an intelligent answer, Don't ask me. To understand Recursion, you must first understand Recursion.

            S Offline
            S Offline
            Single Step Debugger
            wrote on last edited by
            #8

            If I stuck on some code more than a few minutes this means that I’m using a wrong approach. So I try to look on the problem from a different angle and this does the job. It’s like playing chess – if you focus only on a part of the position struggling to make a break at exactly this spot, you usually lose the game. Also if you have a technical problem and the Google and the documentation don’t have a solution for your and you are not doing something very specific/programing embedded systems etc./ in 90% of the cases this means you are doing something wrong or/and missing something obvious.

            There is only one Ashley Judd and Salma Hayek is her prophet! Advertise here – minimum three posts per day are guaranteed.

            1 Reply Last reply
            0
            • R R tsumami

              Just wondering what most of you do when you get stuck on a piece of code or something that does something it’s not supposed to do or just doesn't work.

              saru mo ki kara ochiru (even monkeys fall from trees) Usualy i'm that monkey. If you want an intelligent answer, Don't ask me. To understand Recursion, you must first understand Recursion.

              W Offline
              W Offline
              wout de zeeuw
              wrote on last edited by
              #9

              You call for mommy. :-O

              Wout

              1 Reply Last reply
              0
              • R R tsumami

                Just wondering what most of you do when you get stuck on a piece of code or something that does something it’s not supposed to do or just doesn't work.

                saru mo ki kara ochiru (even monkeys fall from trees) Usualy i'm that monkey. If you want an intelligent answer, Don't ask me. To understand Recursion, you must first understand Recursion.

                S Offline
                S Offline
                Slacker007
                wrote on last edited by
                #10

                R-tsumami wrote:

                Just wondering what most of you do when you get stuck on a piece of code or something that does something it’s not supposed to do or just doesn't work.

                I throw my computer out the window and I run down my street butt naked screaming at the top of my lungs...it is quite refreshing I must say. :-D

                1 Reply Last reply
                0
                • R R tsumami

                  Just wondering what most of you do when you get stuck on a piece of code or something that does something it’s not supposed to do or just doesn't work.

                  saru mo ki kara ochiru (even monkeys fall from trees) Usualy i'm that monkey. If you want an intelligent answer, Don't ask me. To understand Recursion, you must first understand Recursion.

                  A Offline
                  A Offline
                  Abhinav S
                  wrote on last edited by
                  #11

                  Go home and come back the next day!

                  The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it. My latest tip/trick Visit the Hindi forum here.

                  M 1 Reply Last reply
                  0
                  • R R tsumami

                    Just wondering what most of you do when you get stuck on a piece of code or something that does something it’s not supposed to do or just doesn't work.

                    saru mo ki kara ochiru (even monkeys fall from trees) Usualy i'm that monkey. If you want an intelligent answer, Don't ask me. To understand Recursion, you must first understand Recursion.

                    I Offline
                    I Offline
                    Ian Shlasko
                    wrote on last edited by
                    #12

                    Stare at it for a few minutes, then reroute it to my subconscious and browse the web... Inevitably, sometime within the next 5-60 minutes (Depending on complexity), the answer pops into my head while I'm in the middle of typing a forum p--

                    Proud to have finally moved to the A-Ark. Which one are you in?
                    Author of the Guardians Saga (Sci-Fi/Fantasy novels)

                    1 Reply Last reply
                    0
                    • A Abhinav S

                      Go home and come back the next day!

                      The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it. My latest tip/trick Visit the Hindi forum here.

                      M Offline
                      M Offline
                      Manfred Rudolf Bihy
                      wrote on last edited by
                      #13

                      I like your approach to this kind of situation!

                      1 Reply Last reply
                      0
                      • L Lost User

                        I take it to codeproject, to google, if answers are not close it might be a logical problem then I go to facebook forget about code for several hours then answer comes as i watch a movie.

                        I only read newbie introductory dummy books.

                        C Offline
                        C Offline
                        Corporal Agarn
                        wrote on last edited by
                        #14

                        What you should do is put it in Ask a Question then have someone else give you the google link. :-D

                        1 Reply Last reply
                        0
                        • R R tsumami

                          Just wondering what most of you do when you get stuck on a piece of code or something that does something it’s not supposed to do or just doesn't work.

                          saru mo ki kara ochiru (even monkeys fall from trees) Usualy i'm that monkey. If you want an intelligent answer, Don't ask me. To understand Recursion, you must first understand Recursion.

                          R Offline
                          R Offline
                          Ravi Sant
                          wrote on last edited by
                          #15

                          I drink tea or coffee, brain-storm for sometime rest few moments and retry it stuck yet, then stare at it for hours

                          1 Reply Last reply
                          0
                          • R R tsumami

                            Just wondering what most of you do when you get stuck on a piece of code or something that does something it’s not supposed to do or just doesn't work.

                            saru mo ki kara ochiru (even monkeys fall from trees) Usualy i'm that monkey. If you want an intelligent answer, Don't ask me. To understand Recursion, you must first understand Recursion.

                            C Offline
                            C Offline
                            Chris C B
                            wrote on last edited by
                            #16

                            I tell the client to change his requirements, as he has obviously got them wrong. :suss: :laugh:

                            1 Reply Last reply
                            0
                            • R R tsumami

                              Just wondering what most of you do when you get stuck on a piece of code or something that does something it’s not supposed to do or just doesn't work.

                              saru mo ki kara ochiru (even monkeys fall from trees) Usualy i'm that monkey. If you want an intelligent answer, Don't ask me. To understand Recursion, you must first understand Recursion.

                              RaviBeeR Offline
                              RaviBeeR Offline
                              RaviBee
                              wrote on last edited by
                              #17

                              R-tsumami wrote:

                              what most of you do when you get stuck on a piece of code

                              2 things:

                              • I try to isolate the unexpected behavior in a standalone app or method that I can test in isolation.  If the problem persists (i.e. I'm not able to identify its cause), I request a second pair of eyes to take a look at it.  It's much easier for a developer to look at an isolated test case than code in the context of something much larger.
                              • Many (perhaps most) times, the answer jumps out at me simply by explaining the problem to a developer who's unfamiliar with the issue.  Explaining the issue to someone else forces me to think in a clear an unbiased manner, making as few assumptions as possible.

                              /ravi

                              My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com

                              1 Reply Last reply
                              0
                              • R R tsumami

                                Just wondering what most of you do when you get stuck on a piece of code or something that does something it’s not supposed to do or just doesn't work.

                                saru mo ki kara ochiru (even monkeys fall from trees) Usualy i'm that monkey. If you want an intelligent answer, Don't ask me. To understand Recursion, you must first understand Recursion.

                                P Offline
                                P Offline
                                PIEBALDconsult
                                wrote on last edited by
                                #18

                                Print out the code and get away from the computer.

                                1 Reply Last reply
                                0
                                Reply
                                • Reply as topic
                                Log in to reply
                                • Oldest to Newest
                                • Newest to Oldest
                                • Most Votes


                                • Login

                                • Don't have an account? Register

                                • Login or register to search.
                                • First post
                                  Last post
                                0
                                • Categories
                                • Recent
                                • Tags
                                • Popular
                                • World
                                • Users
                                • Groups