Thread: Novice Class Assignment Plz Help

  1. #16
    Grey Wizard C_Sparky's Avatar
    Join Date
    Sep 2009
    Posts
    50
    Quote Originally Posted by CommonTater View Post
    Nope... a good programmer wouldn't go there in the first place.
    Nope, a good programmer wouldn't even consider the thought.

  2. #17
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Quote Originally Posted by C_Sparky View Post
    Nope, a good programmer wouldn't even consider the thought.
    Not so... One of the big reasons I can produce code that doesn't need upgrading every 3 hours to eliminate bugs is that I DO entertain the thought.
    For every line of code I write there are two things I consider, beyond simply getting it to work...

    1) How can I make this simpler...
    2) How many different ways can this screw up?

    Smart programmers are just as aware of what does not work as what does.

  3. #18
    Registered User
    Join Date
    Sep 2008
    Location
    Toronto, Canada
    Posts
    1,834
    Quote Originally Posted by Anitrex View Post
    Is it okay if i continue posting in this thread or do i have to create a new thread for every problem?
    Please start a new thread for a new problem.

  4. #19
    Grey Wizard C_Sparky's Avatar
    Join Date
    Sep 2009
    Posts
    50
    Quote Originally Posted by CommonTater View Post
    Not so... One of the big reasons I can produce code that doesn't need upgrading every 3 hours to eliminate bugs is that I DO entertain the thought.
    For every line of code I write there are two things I consider, beyond simply getting it to work...

    1) How can I make this simpler...
    2) How many different ways can this screw up?

    Smart programmers are just as aware of what does not work as what does.
    Exactly, I have now been proven correct.

  5. #20
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    Quote Originally Posted by C_Sparky
    Exactly, I have now been proven correct.
    This is a friendly reminder of the forum guidelines:
    8. Do not flame/troll. Messages whose intent is to "Flame," "Troll," or purposely insult or incite another person, or any portion of a post that "flames" will be deleted.
    You may know the pitfalls behind what you post, but if you do not caution the novice to whom you make such a suggestion, or simply make the suggestion without such pitfalls, then you should expect someone else to come along and do so, or else the novice may pick up bad habits. Telling them that they need to "relax" or insinuating that they are not "good programmers" because of that is poor form.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. class assignment, help!
    By TriKri in forum C++ Programming
    Replies: 7
    Last Post: 10-06-2007, 08:17 AM
  2. Class assignment
    By tmnismo91 in forum C Programming
    Replies: 18
    Last Post: 06-19-2007, 07:00 PM
  3. Another class assignment, please help.
    By WinterInChicago in forum C++ Programming
    Replies: 16
    Last Post: 11-09-2006, 11:51 AM
  4. Novice Pointers/Class Question
    By C++Gamer in forum C++ Programming
    Replies: 8
    Last Post: 06-28-2006, 05:36 PM
  5. Replies: 10
    Last Post: 06-17-2005, 10:00 PM