Why is my question still closed even after my edit?
-
8Because your edit didn't improve the question.– Zoe - Save the data dump ModCommented Sep 13, 2020 at 18:22
-
OK. Can you point on exactly why is my question still opinion based?– crorafCommented Sep 13, 2020 at 18:23
-
4see also: Why do 'some examples' and 'list of things' questions get closed?– gnatCommented 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.– crorafCommented Sep 13, 2020 at 18:32
-
Are you sure about that? I answered a few asked more recently than that.– yiviCommented Sep 13, 2020 at 18:39
Add a comment
|
1 Answer
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.