It's not uncommon for me to see someone post a question regarding one thing wrong with their code, but in reality, there are multiple issues that they evidently haven't noticed yet. I've noticed if you only deal with the primary concern, you'll inevitably get "but what about x, y, and z problems?" comments on your answer, urging you to address everything.
Case and point: I just answered a Python question where the main problem was inconsistent indentation causing an error. In their code though, they also attempted to compare numbers using =
. Someone else and I posted an answer, and not long after, someone posted a "what about the assignment operator being used to compare?" comment.
What's the general feeling on this?
While I don't see a small little blurb pointing out a side issue as a problem, I have seen cases where the "side issues" take up more of the answer than the title problem. To me, other problems shouldn't detract from the problem in the title; especially considering the purpose of the site.
Should other issues be pointed out? Should people be commenting asking for side things to be pointed out?
seen cases where the "side issues" take up more of the answer than the title problem
Yes this actually sucks sometimes=
as it was that bit of code included in the error message. I think if it is a small enough side issue (you handled it in one sentence) then there is no harm in pointing it out