-11

Why is my question still closed even after my edit?

5
  • 8
    Because your edit didn't improve the question. Commented Sep 13, 2020 at 18:22
  • OK. Can you point on exactly why is my question still opinion based?
    – croraf
    Commented Sep 13, 2020 at 18:23
  • 4
    see also: Why do 'some examples' and 'list of things' questions get closed?
    – gnat
    Commented Sep 13, 2020 at 18:27
  • @gnat thanks. But I'm not sure that it is the same thing. I'm a bit confused. First I asked "give me the explaination, the reason what is the benefit of something (and users downvoted as being opinion based)", then I asked for "any (that is at least one) example where the benefit of something is seen" and it is Closed because examples are not allowed. Seems like there is no way to ask a question on SO last 5 years.
    – croraf
    Commented Sep 13, 2020 at 18:32
  • Are you sure about that? I answered a few asked more recently than that.
    – yivi
    Commented Sep 13, 2020 at 18:39

1 Answer 1

4

Asking about why particular constructs from a certain language design are designed as they are, is on-topic.

Do note that people tend to read the title of your question first, and your title suggests you're looking for a (possibly infinite) list of examples, while you just want one explanation. I'd suggest renaming it to something like "Why does TypeScript allow type widening for constants?", and then someone will probably explain a relevant passage from the specs.

0

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