- Sep 19, 2000
- 10,286
- 145
- 106
I consider myself a fairly decent programmer, I could navigate several languages, I understand many nuances, heck, I even know a fair bit of assembly. But when it comes to teaching others how to program, I'm lost. These things always came naturally to me, so it is hard to isolate and eliminate confusion.
I have a friend that I'm helping, I've tried everything, mapping out what the program should look like, giving him selections to read from his text, even giving him examples (IE current problem he is having, but a bit different.) And nothing seems to sink in. I'm at a loss, these are really basic things that he seems to know no better then after spending multiple hours going over, and over, the concept with him.
For example, I don't think he understands what the difference between a string, bool, int, char, and char* is in C++. He doesn't seem to know what it means when you say "int variableName;", I've tried explaining it to him 100 different ways, and nothing seems to sink in.
Heck, when I have him explain what his program supposed to do, he'll say things like "If the function returns true, then I need to do this." And has no clue how to code that up, he wants me to write it for him (which I refuse to do.)
I don't know if any of you struggled, or know people that struggled, but it would really help me if you had suggestions on what I could do to give my friend a hand. I've gone so far as writing a decent chunk of code (that doesn't plug directly into his program) that does essentially what he needs, commenting every single line in excruciating detail, and he still has no clue.
In a couple of minutes, I'm going over for another 3 hour session. I've been thinking of having him write testbed code (not required by his teacher) to the functions that he has already mapped out for this latest assignment. If that doesn't work, I don't know what next. Anything helpful would be appreciated.
I have a friend that I'm helping, I've tried everything, mapping out what the program should look like, giving him selections to read from his text, even giving him examples (IE current problem he is having, but a bit different.) And nothing seems to sink in. I'm at a loss, these are really basic things that he seems to know no better then after spending multiple hours going over, and over, the concept with him.
For example, I don't think he understands what the difference between a string, bool, int, char, and char* is in C++. He doesn't seem to know what it means when you say "int variableName;", I've tried explaining it to him 100 different ways, and nothing seems to sink in.
Heck, when I have him explain what his program supposed to do, he'll say things like "If the function returns true, then I need to do this." And has no clue how to code that up, he wants me to write it for him (which I refuse to do.)
I don't know if any of you struggled, or know people that struggled, but it would really help me if you had suggestions on what I could do to give my friend a hand. I've gone so far as writing a decent chunk of code (that doesn't plug directly into his program) that does essentially what he needs, commenting every single line in excruciating detail, and he still has no clue.
In a couple of minutes, I'm going over for another 3 hour session. I've been thinking of having him write testbed code (not required by his teacher) to the functions that he has already mapped out for this latest assignment. If that doesn't work, I don't know what next. Anything helpful would be appreciated.
