4

This old question just got a new answer that, albeit correct (it does give the desired result), it is by all criteria, worse than the ones already posted in many ways. I think this ought to be eventually deleted, as it adds nothing useful to the site; but should it be flagged? Or should it be dealt with by downvoting?

In the benefit of posterity, in case it gets deleted, the answer suggest using:

x[:len(x)-3:+1]

when the "correct" (simple, efficient, legible) way is:

x[:-3]

Related questions:

I don't believe they are duplicates because in this case, the answer is of lower quality and doesn't provide a real alternative or an explanation.

2

1 Answer 1

14

No, wrong or unhelpful answers should be downvoted, not deleted or flagged.

I might also leave a comment along the lines your answer doesn't add anything new that wasn't already said in other answers, and better.

2
  • 1
    In the post linked by Deduplicator, the mods recommend custom flagging for a similar case. The problem is not wrongfulness, it is lack of added value.
    – Davidmh
    Aug 15, 2014 at 13:35
  • @Davidmh: hrmz, not sure I agree that moderator intervention is always needed in such cases. I'd just leave a comment and leave it to voting to do the rest.
    – Martijn Pieters Mod
    Aug 15, 2014 at 14:18

You must log in to answer this question.

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