Thread: Posting Code == Wrong?

  1. #16
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    There is sometimes an extremely fine line between "helping" (which is good) and "spoonfeeding" (which in the long term isn't).

    As much as possible, its about getting the poster to think for themselves a bit - which for newbies can be an extremely frustrating experience as it often seems like people are not really helping. But a large part of programming is down to thinking about the problem, and it's only when you "get" that aspect of it that you can start to tackle the really interesting programming problems.

    So I try and restrict code to smaller snippets which nudge posters past the more immediate problem just so they have the "making progress" feeling, and don't feel like they're completely stuck and give up altogether. Those that do give up too soon would never make it anyway, so there's no loss there.

    When I do post a whole answer, it's as an example after the fact rather than as an up-front answer to the question.

    The other thing to do is respond with equal effort.
    If the OP has basically dumped the assignment, then that gets the short flame or just ignored.
    A post containing code and questions gets far more attention.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  2. #17
    Registered User
    Join Date
    Mar 2003
    Posts
    580
    I've seen you employ that technique, especially in the C++ forum, and I was thinking to myself earlier that it is a good way of going about things.
    See you in 13

  3. #18
    UT2004 Addict Kleid-0's Avatar
    Join Date
    Dec 2004
    Posts
    656
    I see helping people as helping myself by a lot, and that's why I always use whole examples with color coating. The color coating is to show them what's wrong, and they go "ooohhh".

  4. #19
    Anti-Poster
    Join Date
    Feb 2002
    Posts
    1,401
    Quote Originally Posted by Kleid-0
    I see helping people as helping myself by a lot, and that's why I always use whole examples with color coating. The color coating is to show them what's wrong, and they go "ooohhh".
    You can't fool us. You just like the pretty colors.
    If I did your homework for you, then you might pass your class without learning how to write a program like this. Then you might graduate and get your degree without learning how to write a program like this. You might become a professional programmer without knowing how to write a program like this. Someday you might work on a project with me without knowing how to write a program like this. Then I would have to do you serious bodily harm. - Jack Klein

  5. #20
    UT2004 Addict Kleid-0's Avatar
    Join Date
    Dec 2004
    Posts
    656
    Yeah you got me :( lol

  6. #21
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331
    Yea because that was hard.

  7. #22
    UCF Mystic_Skies's Avatar
    Join Date
    Oct 2004
    Posts
    33
    I'm missing those beautifully done code explanations by Prelude such as this one. I really learned a lot from those.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. non-lvalue error
    By zlb12 in forum C Programming
    Replies: 1
    Last Post: 04-17-2009, 10:43 AM
  2. Looking for feedback on program segment
    By avron in forum C++ Programming
    Replies: 4
    Last Post: 05-07-2007, 04:38 PM
  3. Personal Program that is making me go wtf?
    By Submeg in forum C Programming
    Replies: 20
    Last Post: 06-27-2006, 12:13 AM
  4. Request for comments
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 01-02-2004, 10:33 AM
  5. Is there a bug in this part of my algorithm for connect 4?
    By Nutshell in forum Game Programming
    Replies: 8
    Last Post: 04-28-2002, 01:58 AM