So I met a certain user who posted their homework problem on SO. They put some effort into answering their questions IMHO and are slowly getting there.
They got here already
public class Assg2 {
public static void main(String[] args) {
String w1 = args[1];
String w2 = args[2];
int numberOfCrosses = 0;
for(i=0; i < w1.length(); i++) {
for(j=0; j < w2.length(); j++) {
if(w1.charAt(pos1) == w2.charAt(pos2)) {
numberOfCrosses++ System.out.print(w1, w2)
}
if(numberOfCrosses == 0) {
System.out.print("Words do not cross")
}
}
}
}
}
And as some of you may notice, this code will work properly, it just needs its compile errors fixed. Now this user has no idea how to fix this compile errors, so they just posted one question regarding one of the compile errors. Now once this issue gets fixed, another issue will appear.
I predict that they will create another question for this issue and/or disscuss it in the comments in their two posts. This is not good for the Q&A format of SO. I am unable to invite the user to a chatroom because of their low reputation so I am lost at how to deal with this.
As for the code above, I actually went and fixed all the compile errors and ran it, confirming that it might be what they want, i.e. I have the answer to their homework but of course I don't want to spoonfeed it to them.
As the saying goes, Give a man a fish, he will eat for a day. Teach a man to fish and he will eat for a lifetime.
How do I deal with this? I want to help as I was once a beginner too. Or should I just leave them alone and get on with my life?
;
), and a google link on what the commands mean, rather than fix the problem and post it..... Programmers must understand from the eletricity crossing the stone, to the complexity of !O operations. since its a lot to learn in a small lifespan, then point the direction, but NEVER show the result