Find the answer to your Linux question:
Results 1 to 8 of 8
I've got the programming bug again! Someone on this forum - I think it was Elija - once said that anything so pleasurable and addictive ought to be illegal. But ...
  1. #1
    Linux Engineer hazel's Avatar
    Join Date
    May 2004
    Location
    Harrow, UK
    Posts
    951

    A curious fact about programming

    I've got the programming bug again! Someone on this forum - I think it was Elija - once said that anything so pleasurable and addictive ought to be illegal. But I've noticed something curious:

    I'll have a bug and I pore over the code, add printf statements here and there to track my variables, rebuild, rerun, and I still can't find why it's misbehaving. Or I want the program to do something but I can't work out for the life of me how to do it. In the end I just give up in disgust. Then, a few hours later, when I'm walking the dog, or in bed, I suddenly think, "Of course! I just have to do x.." And it seems so obvious. So why can I never see it when I'm sitting in front of my computer?
    "I'm just a little old lady; don't try to dazzle me with jargon!"

  2. #2
    Linux Guru
    Join Date
    Nov 2004
    Posts
    6,110
    Have you ever tried 'Rubber ducky debugging' Hazel?

  3. #3
    Linux Engineer Freston's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    1,047
    Sometimes I spend hours on a piece of code, and then I look at it, read it and I have no idea of what it's supposed to be or do... it's just vague lines of random characters and I can't for the life of me see meaning in any of them.

    Then I walk away, and within a minute or two it comes back to me and I need to go back *must* go back to read it again.
    Can't tell an OS by it's GUI

  4. #4
    Linux Engineer hazel's Avatar
    Join Date
    May 2004
    Location
    Harrow, UK
    Posts
    951
    Quote Originally Posted by bigtomrodney View Post
    Have you ever tried 'Rubber ducky debugging' Hazel?
    And what the heck is that?
    "I'm just a little old lady; don't try to dazzle me with jargon!"

  5. #5
    Trusted Penguin elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    2,287
    Quote Originally Posted by bigtomrodney View Post
    Have you ever tried 'Rubber ducky debugging' Hazel?
    No. That's what senior developers are for
    If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)


    My new blog. It's probably not as good as I think it is.

  6. #6
    Trusted Penguin elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    2,287
    Quote Originally Posted by hazel View Post
    And what the heck is that?
    Explaining your logic and code in great detail to a rubber duck.
    If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)


    My new blog. It's probably not as good as I think it is.

  7. #7
    Trusted Penguin Cabhan's Avatar
    Join Date
    Jan 2005
    Location
    Seattle, WA, USA
    Posts
    3,228
    It's true. On many occasions, I have been stuck on something, and when I'm explaining it to a friend, the answer becomes obvious.

    Sometimes talking about the problem out loud can really clear things up.
    DISTRO=Arch
    Registered Linux User #388732

  8. #8
    Linux Enthusiast gerard4143's Avatar
    Join Date
    Dec 2007
    Location
    Canada, Prince Edward Island
    Posts
    714
    My programming answers come to me while I'm trying to falling asleep.
    Make mine Arch Linux

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •