A rather irritating trend that I have spotted in StackOverflow is the majority of those that ask questions accept answers that simply fix their code instead of explaining why it was broken in the first place. I understand that it is just people people want to get their code fixed as quickly as possible but it seems to be 

So my question is, is it better to just fix the code rather than explaining what is wrong? It seems to go against what the site is for but it also seems to be what the people want.