It's bothering me if someone was asked to do report or has a homework question and asks for help here or anywhere in SE, is answering it considered cheating? I know it's not an exam or anything but sometimes reports and homework directly affect the marks of the student. Also it's different to give someone the plain answer than to let him/her read till he knows how to solve it. Also if the poster wrote some code and has an annoying bug, IMO it's Ok to give a helping hand as we had help when we were juniors but asking for the whole solution is something else.
What do you think, shall I post the solution or post a link to an explanatory material instead?
As long as you are teaching to fish, you should be OK. It is generally not acceptable to simply answer a homework question, and it is really frowned upon to flat out ask homework questions. However, if the question gives an opening for a thoughtful and educating answer, it is fine. No one is required to have a good understanding about everything, and helping someone else grasp a concept is always rewarding.
As far as answering homework questions, I think it is cheating, but it's a case of the student cheating themselves out of an education.
I think that Stack Overflow's role in general (providing answers) conflicts with the answers suggesting that we should only provide suggestions of tips. To me, if the question is well put we should answer it as well as we can. That's why SO exists. Definitely keep putting in explanations and guidance rather than just pure "here's the code". But if the question comes from a student who is trying to sabotage their own education, they are just fooling themselves.
Is it cheating to write code for someone that lied about there credentials in getting the job? Somehow on SO that is never talked about.
When I learned this stuff people would laugh if you gave them straight code from a question asked on a mailing list. People fall over themselves out here to validate there pathetic lives with some rep points.
People should stop writing code for others period. 90% percent of the answers are 'read the manual'.