Giving code to posters rather than helping them

Reply

Join Date: Aug 2005
Posts: 5,273
Reputation: iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold 
Solved Threads: 378
Featured Poster
iamthwee's Avatar
iamthwee iamthwee is offline Offline
Posting Expert

Re: Giving code to posters rather than helping them

 
1
  #11
Nov 29th, 2006
The concept of actually writing code is really a waste of time, for newbies like yourself. It's amazing how many people worry about the syntax.

All programs should begin as flow charts. I'm sure you've come across these in baby school.

Once you have grasped the notion that all programs are essentially just flow charts, then you can move onto the next stage. Converting the flow charts into code.


Simple.

And just for the record I was being sacastic in the sense that may4life was doing you a favour by writing your code for you. He shouldn't have, and he's a fool for doing so. He he.

You learn by your mistakes. That's how you become great.
Last edited by iamthwee; Nov 29th, 2006 at 5:55 pm.
*Voted best profile in the world*
Reply With Quote Quick reply to this message  
Join Date: Apr 2006
Posts: 5,051
Reputation: John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold 
Solved Threads: 332
Team Colleague
John A's Avatar
John A John A is offline Offline
Vampirical Lurker

Re: Giving code to posters rather than helping them

 
0
  #12
Nov 29th, 2006
Originally Posted by may4life View Post
I've recently got into C++! That's a big difference. I know my code is correct and I aways post it without warnings or errors.
Code is not necessarily correct simply by having the compiler not give out errors/warnings. For example, Visual C++ does not complain if you use void main(). Does that mean it's correct? Bugs can also be present, which may not show themselves at first.

For example, if the person doesn't understand switch statements and i have one in the code i wrote, the responsible thing to do is go look it up, learn how it works and compare it to the code.
And the responsible thing to do when you're helping a newbie is to actually look it up if necessary, and explain what the code does.

The general idea i'm trying to get across is that i am giving out my idea of how I would solve that problem (and also giving the code of how to do it). I urge people to look at my code (to understand how i thought of overcoming the problem) and then give it a go with their own ideas. A lot of people here are vert smart, they are just confused or stuck on an idea or concept.
So if they're only stuck on one idea or concept, why not help them specifically with that part, instead of showing them the entire program? If they are capable of writing *most* of the program, let them do that. Let them get experience with that part. If they are truly stuck on a part, explain to them how to do it AND give them a code example. That's the best way of teaching someone.

By seeing how I overcame that specific point in the program clears these thoughts out and lets them continue onwards from there.
No, by giving them the entire code, you are keeping them from progressing. When they have to repeat the procedure or something similar, they will almost certainly remember how to do it if they solved it (or at least most of it) by themselves. The chances are much lower they will remember if someone simply handed them the code to complete the previous assignment.

What makes you think if someone doesnt give them some help with the code, everyone WILL learn by themselves?
Helping someone with code does not mean that you have to complete their assignment for them. In fact, explanation and small examples can often be far more helpful than dumping code at them.

Also, we that do explain to the newbies how code works, to the best of our ability, put a lot of time and effort into our posts. It's not easy. Are you saying that your method is better than ours? Obviously you must spend some time coding, too, but it's a lot harder and more time-consuming then it seems to give a good explanation on how a particular function/code snippet works.

Being a teacher, you too should know that a lot of teachers teaching the same subject have different methods. Same syllabus, different ways of communicating. Imagine if you never gave any code in the class, just teached theory and told the students to go out and google "linked lists"..
Do you realize what you are saying here? By giving people complete code for their assignments, you are expecting them to use Google! If, when you explained linked lists, you gave a code example, the student should neither have to use Google for learning how the code works or finding a good coding example. That is the professional, and preferred, way of helping people.

How many would come back knowing how they work with a coded example of their own? 1? 2 the most? Only the ones who really really really care.
Exactly. Only people who really care will write their own code example if you give them the complete code for an assignment. If they hand in the code that you gave them, it's not their own. Period.

Originally Posted by confused! View Post
Is there possibly a happy medium?
Obviously, yes. I have no problem giving an example of a concept I'm trying to explain, which the newbie can modify and use in their project. If they have trouble applying it to use in their project, they can post what they tried, and I'm happy to tell them what's wrong with their code.

I have posted for help a couple of times and have gotten some help, or have gotten absolutely no response and sometimes I just get personal messages telling me to put my code in tags. It was may4life that has helped me the most. First of all, may4life explained to me what it meant to put my code in tags, since I am a newbie who truly doesn't know anything about programming for the life of me couldn't figure out what that even meant.
Hmm... you mean this post wasn't clear as day? Many newbies can figure out how to use them simply by finding the sticky at the top of the forum or the watermark in the Quick Reply Box. Even if my example didn't work, surely you could have clicked on the link I referred you to.
"Technological progress is like an axe in the hands of a pathological criminal."

All my posts may be freely redistributed under the terms of the MIT license.
Reply With Quote Quick reply to this message  
Join Date: May 2006
Posts: 3,117
Reputation: WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of 
Solved Threads: 282
Moderator
WaltP's Avatar
WaltP WaltP is offline Offline
Posting Sensei

Re: Giving code to posters rather than helping them

 
1
  #13
Nov 30th, 2006
Originally Posted by confused! View Post
Is there possibly a happy medium?
Yes, and I explained that to may4life. He seemed to understand, then ignored me.

As JoeProgrammer suggests
So if they're only stuck on one idea or concept, why not help them specifically with that part, instead of showing them the entire program? If they are capable of writing *most* of the program, let them do that. Let them get experience with that part. If they are truly stuck on a part, explain to them how to do it AND give them a code example. That's the best way of teaching someone.
Key word -- example! I go as far as to say that example does not even have to solve their problem, but shows a technique that they can use to solve it themselves.

may4life's argument is if you give them a working solution, the people that really want to learn will. I completely agree. It's the other 50-60% of them I don't want passing on someone else's work. There are enough hacks in the industry already. We don't need more graduates that barely know what they are doing because rather than figure it out, someone else does their work for them. It's these people that should not be given code. And if you really want to learn, they don't want it written for them. Therefore, the common denominator -- don't give working solutions. Give examples that explain the idea and let them solve it themselves.

Originally Posted by confused! View Post
I am a "newbie" - I am as new as they come, taking my very first ever programming class which happens to focus on C++. There were no prerequisites for this class but the teacher I have seems to assume that everyone in the class has had some experience with programming. In many cases, he is right, but there are some of us that have had no experience at all.
Sorry about that. Is this a reason you should be given a solution -- because your instructor sucks? Sounds like a lame excuse to me.

I honestly understand your dilema. There are a lot of bad teachers out there, and many of them are teaching bad coding practices. Unfortunately, it's the school that has to do something about that. Still, handing you the solution does not help you. Reading the book and asking questions will. That's what we're here for. We'll help clear up the crap your instructor hands you. But if you are given the solution, what incentive is there to learn -- you can still pass. "Hey guys, just go over to Daniweb. They'll do your homework for you so at least you can pass!." Get real!

Originally Posted by confused! View Post
I have posted for help a couple of times and have gotten some help, or have gotten absolutely no response and sometimes I just get personal messages telling me to put my code in tags.
When did you read Rules link, or the links at the top of the C/C++ forum? No wonder you didn't know. You didn't bother to get the information you needed to post accurately. Not our problem. Sorry. The Rules/FAQ was written for a reason. Just like the School Handbook you probably didn't read either (which I didn't read, so I'm just as guilty). But the excuse "I didn't know" doesn't hold water. You could have found out quite easily -- by reading the Rules.

Originally Posted by confused! View Post
It was may4life that has helped me the most. First of all, may4life explained to me what it meant to put my code in tags, since I am a newbie who truly doesn't know anything about programming for the life of me couldn't figure out what that even meant.
And so does the post Please use BB Code and Inlinecode tags at the top of the forum. It's right there in blue and white.


Originally Posted by confused! View Post
Second of all, I don't think it's fair to assume that all the students out there just post their problems wanting someone else to do the work.
I'm not assuming that at all. I'm assuming all students are human -- and as such, the majority -- if handed the answer -- will use it. There are many that won't. Maybe you're one. But how the heck are we supposed to tell. We don't have an application where you raise your right hand on a Bible and repeat "I will not use code that is written for me. I will write it myself."


Originally Posted by confused! View Post
I, myself, have spent countless hours reading my assignments, going through my class notes, I even bought a book at Barnes and Noble called "Teach yourself C++ in 24 hours", still I can spend 10-12 hours in front of the computer on a Sunday afternoon and not be able to figure out where to begin with a program. I can write out in English what I want the program to do, but sometimes can't come up with any code to get myself started. may4life has helped me out, given me code, which I then studied and played with to figure out what the purpose of each line of the code was for.
Very commendable. But if you were not given the solution, but code examples instead, are you saying you could not have learned it? And can you guarantee most others do what you do? So we should do the homework and hope that they don't want the easy A...


Originally Posted by confused! View Post
So, though I understand that a small percentage of people could be posting just to get out of doing their homework, please don't assume that all of us are doing that. I, myself, wouldn't dream of turning in someone else's work without understanding each piece of it and modifying it to make it my own.
I'm not making that assumption. I am assuming that the slugs exist. And I know for a fact they will use a solution if given to them. And I also know for a fact that for someone like you, a solution is not necessary. A code snippet showing a way to do something that you can translate yourself into working code is going to be a better learning experience.

Originally Posted by confused! View Post
This website is fantastic and I appreciate the fact that you all are out there to help, but please understand that some of us are so new at this that we need a push, and without help we don't even know where to start with the code.

Just wanted to let you know where a true "newbie" is coming from.
I agree. A push. But stay on your own two feet, you should not be carried. That's all a working solution is. Code snippet -- a push. Working code -- lazy man's out.

I appreciate your position and "where you'tre coming from." We've all been there. At the same time, can you understand what we're trying to say? Solutions do not help in the long run. Tips and techniques do.

To paraphrase the fish thing:

Give a student the code, they pass the course. Teach them to code, they have a carreer.
The 3 Laws of the Procrastination Society:
1) Never do today that which can be put off until tomorrow
2) Tomorrow never comes
Reply With Quote Quick reply to this message  
Join Date: Apr 2005
Posts: 16,259
Reputation: jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all 
Solved Threads: 540
Moderator
Featured Poster
jbennet's Avatar
jbennet jbennet is offline Offline
Moderator

Re: Giving code to posters rather than helping them

 
0
  #14
Nov 30th, 2006
i agree. I will help newbies with coding ONLY if they:

have done either an alpha piece of code and have a clear idea of what they want, but are just having trouble doing it

Dont know where to start but are prepared to do the work themselves if we point them in the right direction with some psuedocode or something
If i am helpful, please give me reputation points.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



Tag cloud for IT Professionals' Lounge
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC