40

This answer was deleted by someone other than the author (assuming a mod).

I am just curious and trying to learn. Not a complaint, it wasn't my answer, I just want to understand the SO community and stewardship better. (I have read why and how are some answers deleted.)

It seems the answer was decent, and upvoted (+21 / -1) at the time it was deleted.

I don't have the rep (or knowledge) to see the edit history or comments on why the answer was deleted, but it seems like a quality answer to me with a fair amount of upvoting.

Any insights appreciated.

9
  • 7
    Generally, saying "if this post/comment got acted on, why not this other one" will net you an answer of "no one saw/flagged/voted on that other one", which is not horribly constructive to discussion. Also, if you want input from people below 10k, a screenshot would not be amiss. Jan 17, 2017 at 16:24
  • Sure, no biggie. I would say that it distracts from the main point, but that's me... Jan 17, 2017 at 16:35
  • 2
    I think at 10k rep you can view deleted posts and also their edit history. If you don't see the link it's because the post has not been edited, but you can still see the history in stackoverflow.com/posts/6455902/revisions
    – Oriol
    Jan 17, 2017 at 17:21
  • Moderation in this community sucks. Have you ever noticed that of most of the best and top voted QA of all times, almost all do not follow the canonical "rules"? What can be the meaning of it? Jan 19, 2017 at 12:50
  • 3
    @pietrovismara The rules and guidelines were different in the past. Jan 19, 2017 at 12:56
  • 1
    @AndrewMorton Not really. Very often i see things like "This question was closed as too broad" but "locked" because the question has historical significance. This almost always happens with the most useful QA that i found on SO. Jan 19, 2017 at 12:59
  • @pietrovismara: old, locked, closed posts is consistent with the view that the rules and guidance were different in the past. For what it is worth, that really is the established view of the community, and some examples of "what about this one" isn't going to change it suddenly.
    – halfer
    Jan 19, 2017 at 20:45
  • 1
    @pietrovismara classic mistake some make, you can't judge old question / answers by the same yard stick used now. Historically the guidelines were different, so applying them now would be unfair. In a lot of cases the answers can completely break current guidelines almost to point of being LQ / NAA but they've stood the test of time, so routing through them now and trying to measure them with the latest yard stick is a pointless task.
    – user692942
    Jan 19, 2017 at 20:52
  • @pietrovismara Back in the Old days, rules were different from now. If someone asked that question now, then it would be closed as a duplicate, since it already exists. But there are plenty of questions without code that get received fine.
    – 10 Rep
    Sep 12, 2020 at 3:42

2 Answers 2

75

Someone flagged it as a link-only answer and it was deleted by someone who was a moderator at the time.

I've undeleted it, because I disagree that it's a link-only answer. The first statement succinctly yet thoroughly answers the question, and the PHP manual link is really just there as supplementary, and not even essential to the answer.

18
  • 6
    Thanks, @BoltClock. I've learned tons from you through SO and Meta. I appreciate all your hard work! Jan 17, 2017 at 16:25
  • 2
    @cale_b: Thanks, I'm glad I made a difference!
    – BoltClock
    Jan 17, 2017 at 16:26
  • 6
    I guess I would like to see a snippet from the linked page included in the answer. Reason being that without the linked content the answer is just "No". Jan 18, 2017 at 13:30
  • 4
    @Ashley Medway: Yeah, I see where you're coming from. That said, while "No" isn't a terribly compelling answer by itself... it's an answer still. A link-only answer wouldn't even answer with a straight yes or no. That's even worse.
    – BoltClock
    Jan 18, 2017 at 13:34
  • 1
    And it is a yes or no question. Jan 18, 2017 at 13:46
  • 1
    @MartinSerrano Shouldn't you backup your answer with evidence, which he has but that evidence is only valid as long as the link works. Jan 18, 2017 at 13:48
  • 7
    @AshleyMedway, my point is that such a simple question is likely to have a simple answer. Saying constants are constant and providing a reference to documentation seems appropriate. Jan 18, 2017 at 13:59
  • 2
    @MartinSerrano but if you need a link to make your answer good or valid then you should include the content, isn't the StackOverflow philosophy to always assume that the link will go dead. Jan 18, 2017 at 14:01
  • 2
    @AshleyMedway Adding the relevant content from the link might be good; that's why answers are community editable.
    – Beska
    Jan 18, 2017 at 14:04
  • @Ashley Medway: I posted about that some time ago: Is an answer considered link-only if content from a supplementary or nonessential link is missing?. It didn't gain a whole lot of traction, though.
    – BoltClock
    Jan 19, 2017 at 4:46
  • 2
    Someone coming from here edited his answer to add content from the external link, and it was reverted. Let us all remember the whole point of this Meta discussion, which is (was) whether the answer should be deleted. It should not; it's that simple.
    – Marc.2377
    Jan 19, 2017 at 5:49
  • 3
    @Marc.2377: To be fair, the edit added nothing that wasn't already in the answer. The quoted text even says "As the name suggests". Even a quote from the dictionary.com link would have been more helpful than the PHP manual, as at the very least the dictionary tells you what the word constant means.
    – BoltClock
    Jan 19, 2017 at 6:00
  • 1
    @BoltClock I completely disagree, if the content from the link adds nothing then delete the link all together. The fact of the matter is it doesn't "add nothing" it is the justification of the answer. So if the link justifies the answer than a snippet from the link should be included for when/if the link is dead. Jan 19, 2017 at 7:19
  • 3
    @Ashley Medway: The text in the original answer is a paraphrase of the content from the link. I don't see a need to then duplicate this information in a verbatim quotation from the link that itself says exactly the same thing: "You can't change the value of a constant because a constant is a constant." That said if the link really does bother you so much, no one's stopping you from editing it out and doing away with the link problem altogether. I even state as much in the question I linked to.
    – BoltClock
    Jan 19, 2017 at 7:25
  • 1
    @Ashley Medway: Maybe I should have posted it under a different account so people wouldn't dismiss it as something that shouldn't have to be asked by a mod.
    – BoltClock
    Jan 19, 2017 at 7:31
1

The whole question is:

Can you undefine or change a constant in PHP?

The answer in discussion addresses askers question. In fact even a simple No. would've suffice to answer this kind of question.

You must log in to answer this question.

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