What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 131 Stack Exchange communities.

Possible Duplicate:
Homework on StackOverflow

I've seen a pattern on StackOverflow where people often get very snippy when someone asks what is obviously a homework question. They say, "go do your own homework", vote to lock, downvote, etc.

My question is, do people really think it's the job of SO members to police other peoples' homework?

share|improve this question

marked as duplicate by Ether, Jeff Atwood Mar 29 '10 at 8:43

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
2  
The homework tag is a little vauge, because there are some questions that are "I've done a lot of work on this homework question and am unable to find the answer" That's acceptable. There's "Hey, do my work for me" that's (IMO) Unacceptable. But they're both "Homework" –  devinb Jun 29 '09 at 13:05

9 Answers 9

It's worth keeping in mind that banning people from cheating on their homework on Stack Overflow won't necessarily stop them from using other sites to cheat, especially ones where you can pay for answers. (Not that all homework-related questions are cheating)

share|improve this answer
    
Then they should pay. That way, at least the poor people will learn. –  John Saunders Jul 18 '09 at 11:34
    
Why exactly is this worth keeping in mind? It's a truism that I can't control what they will do. Given that, I still have to decide what I should do. –  Telemachus Jul 18 '09 at 12:18
    
@Telemachus: isn't "policing" an attempt to control what other people do? –  Andrew Grimm Jul 25 '09 at 4:07

I've got no problems with homework questions as such... If they generate interesting and informative answers then there's very little downside.

share|improve this answer

What's the worst that could happen?

Here's a scenario: SO becomes the place for students to post their homework questions in the style of "plz give me the codez". These questions are all answered by rep-whores until there are basically no more CS exercises left unanswered in the universe.

Is that so bad?

  1. If all HW questions are answered, then people won't worry about marking them as such, so it would be easy to ignore such questions if you dislike doing other people's HW.
  2. If we reach a point in which poor college CS professors don't have any more exercises to hand out because every trivial programming exercise known to man has been solved on SO - well, that's a world I want to live in (and be a student in).

I say, if you don't like HW question, vote them down. But don't close them. Your undeservingly high salary depends on there being way too many non-programmers polluting the job market, after having graduated with a CS degree by copying answers from the internet.

share|improve this answer
2  
That's what I call looking on the bright side. –  Kara Marfia Jun 28 '09 at 18:39
2  
That last sentence is key (and a creative approach), even though it could backfire on you. What if you end up having to work with those non-programmers that (by chance) get programming jobs? I'd be afraid of that. –  Dan Herbert Jun 29 '09 at 22:10
2  
A large applicant pool or untalented hacks will actually cause salaries to drop as the untalented will keep offering there services for cheaper and cheaper to offset their lack of skill. "Plz give me teh codez" isn't about learning, it's about getting a grade. –  toast Jul 9 '09 at 21:02
1  
And these untalented hacks will be the ones who come back here and ask for more codez. –  John Saunders Jul 18 '09 at 11:33
    
All good, except a graduate who copied answers from the 'net will increasingly get interviews in preference to a non-grad who knows their stuff. And there's a certain (but wrong) logic here; if a grad doesn't know what their doing after all those beers^^^^lectures, then what could a self-taught person know. –  Phil Lello Apr 29 '11 at 23:44

I don't see a big difference between a homework question and a work-related question.

A better differentiator is what is being asked and how is is being asked. "Can someone give me tested, commented, debugged code for sorting" is a very different question than "I wrote this sorting code and it fails under these conditions, and I can't see why, please help".

When someone is asking the community to do their work (whether academic or professional), we should ignore or vote down, and perhaps even heap scorn on them.

When someone is asking for help with a specific issue and has give it some thought beforehand, we should help, and vote up or praise if appropriate.

share|improve this answer
2  
it's just too bad down-voting costs rep... –  Assaf Lavie Jun 28 '09 at 16:57
    
Just one measly point. –  toast Jul 9 '09 at 21:00

When I come across a question that appears to be a homework question, I usually provide partial information, so the asker can hopefully figure the rest out (him|her)self.

example

share|improve this answer

Sometimes the "homework" tag gets attached by someone who's not the original poster, based on an assumption that may not be correct. All I care about is truth in advertising. If it's homework, I'm less likely to answer, or my answer may be more pedagogical in nature. If it's not a homework question, since we're all suffering in a sea of software complexity, quick guidance towards a solution is much more appreciated.

share|improve this answer

Yes:

When the user has stated that it is homework and what issues they are having with it, and it shows that they have done the basic background work. The benefits of getting answers on SO are that you have some indication of reliability of the answers and you also get varying viewpoints all together.

e.g. Why is this particular algorithm O(nlogn), when it looks like O(n^2)?

No:

When the question is poorly worded, they have done no background work or they haven't even indicated that they have started to understand the problem.

e.g. Tell me the difference between an apple and an orange?

So basically, the rules are the same as for any other good SO question!

share|improve this answer

No, people shouldn't answer other peoples homework questions.

Talking about it, hints, similar examples, etc. are great. But posting answers, even with well thought out and helpful explanations does harm.

Programming homework is a highly 'kinetic' learning process. Talking about it is not enough, one must actually do it.

'Police'? I'd say "taking an active interest in the health of our future colleagues".

share|improve this answer
6  
agreed especially when there has obviously been no thought or attempts to find out the information. –  redsquare Jun 28 '09 at 14:59
9  
Upvoted! Before you send them teh codez, just think "I might end up working with this guy" –  Blorgbeard Jun 28 '09 at 21:06
    
Can't agree. You are making an assumption that ppl posting homework questions don't care about learning from the answers. Why make those that care suffer? –  Alex Angas Jun 29 '09 at 14:16
2  
@Alex Angas: It is you with the assumptions. Do not put words into my mouth. I am saying that people cannot learn programming with out actually programming. The act of programming is the learning, not just looking at a correct answer. At no point did I say the the people with questions "Don't care". –  Stu Thompson Jun 29 '09 at 14:27
1  
Well, there are "help me with my homework" questions (which I'd consider fine to answer with hints), and there are blatent copy+paste the assignment, mash out "PLZ TEH CODEZ PLZ URGNT" questions.. which are kind of borderline offensive. I think those that care about learning will ask the former kind of question. –  Blorgbeard Jul 1 '09 at 11:57

From my perspective, homework questions can be no different from regular questions, and typically deserve to be answered. Asking a question about basic programming concepts is not any less legitimate than asking questions about the particulars of IE's JS engine.

The other thing is, even if you don't think you should answer the question, someone else inevitably will (unless the question gets closed). There's always people on SO willing to pick the low hanging fruit.

One might say it depends on the content of the question. For example, a question like "what makes this method O(n^2)?" is a lot different than "please write bubble sort in Java." At the same time, these are all questions that someone trying to learn a language must answer at some point.

It doesn't seem to be up to us to enforce someone else's bad behavior in their classes (like cheating online), and it'd be a difficult policy to enforce should we decide to do so. And all questions are questions, ultimately.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged .