Thread: if your good, you can't debug

  1. #1
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640

    if your good, you can't debug

    i came accross this quote, i thought some of you may find it entertaining...

    "Debugging is twice as hard as writing the code in the first place.Therefore, if you write the code as cleverly as possible, you are,by definition, not smart enough to debug it." - Brian W. Kernighan

  2. #2
    mov.w #$1337,D0 Jeremy G's Avatar
    Join Date
    Nov 2001
    Posts
    704
    Thats why I write perfect code that doesn't need debugging instead.
    c++->visualc++->directx->opengl->c++;
    (it should be realized my posts are all in a light hearted manner. And should not be taken offense to.)

  3. #3
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    It's a rather old quote, but accurate even today and everyone should learn it. In fact, I think Dave_Sinkula (or someone else I know) has it in his signature.
    My best code is written with the delete key.

  4. #4
    Rad gcn_zelda's Avatar
    Join Date
    Mar 2003
    Posts
    942
    That quote applies to me. Does that mean I'm a good programmer?

  5. #5
    Registered User whackaxe's Avatar
    Join Date
    Mar 2004
    Posts
    332
    applies to me too. but it probably means my apps are to trivial to debug right now (does debug mean we are using a debugger, or does it mean debugging in general?)

  6. #6
    mov.w #$1337,D0 Jeremy G's Avatar
    Join Date
    Nov 2001
    Posts
    704
    I'll trade you reputations prelude.
    c++->visualc++->directx->opengl->c++;
    (it should be realized my posts are all in a light hearted manner. And should not be taken offense to.)

  7. #7
    5|-|1+|-|34|) ober's Avatar
    Join Date
    Aug 2001
    Posts
    4,429
    I personally think that if you don't have to debug, you're either a genius and think of EVERYTHING on the first go, or your programs aren't complex enough to give you problems.

    OR, you never compile it

  8. #8
    5|-|1+|-|34|) ober's Avatar
    Join Date
    Aug 2001
    Posts
    4,429
    And ya know... people always say "if buildings were built like software, they would fall apart and leak all the time". Well guess how many revisions building plans go through and how many engineers look at an architects work before the construction crew hits the site? I don't know about you all, but I don't have anyone leaning over my shoulder asking me how my program handles every single combination of faults.

  9. #9
    Rad gcn_zelda's Avatar
    Join Date
    Mar 2003
    Posts
    942
    Quote Originally Posted by dbgt goten
    I'll trade you reputations prelude.
    I bet you'll trade anybody reputations :P

  10. #10
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    There are a few people with lower reps

  11. #11
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,829
    So why do they ask me to debug other peoples code?
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  12. #12
    Quote Originally Posted by adrianxw
    So why do they ask me to debug other peoples code?
    because it's a boring thing to do

  13. #13
    Registered User
    Join Date
    Sep 2001
    Posts
    4,912
    Speaking of reputations, I've gotta be missing something. Other than the button on the left, "Add to so&so's reputation" and the "Latest Reputation Recieved" list under User CP, what else is involved in the reputation system.

  14. #14

  15. #15
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    Quote Originally Posted by sean_mackrory
    ...what else is involved in the reputation system.
    i wish i knew. it seems that if someone disagrees with you, that makes you a less reputable person on this site. I got bad rep for starting this thread. Because some didnt like the quote/post, i become a less reputable member of this community. Things like that just make me think twice about sharing my thoughts and expressing my opinions on the board, which totaly defeats the purpose of discussion.

    im not saying im against the rep system, its a great idea when its used responsibly. Its just frustrating when people try to put you down because they have a difference of opinion. </rant>

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. debug release conf problem
    By fighter92 in forum Game Programming
    Replies: 6
    Last Post: 03-20-2009, 04:39 PM
  2. Good books for learning WIN32 API
    By Junior89 in forum Windows Programming
    Replies: 6
    Last Post: 01-05-2006, 05:38 PM
  3. Good practice of writing debug print statements
    By hzmonte in forum C Programming
    Replies: 11
    Last Post: 11-09-2005, 11:55 PM
  4. what is good for gaphics in dos
    By datainjector in forum Game Programming
    Replies: 2
    Last Post: 07-15-2002, 03:48 PM
  5. i need links to good windows tuts...
    By Jackmar in forum Windows Programming
    Replies: 3
    Last Post: 05-18-2002, 11:16 PM