-18

Is there a specific rule that says that comparing languages is off-topic?

These days, questions comparing languages are getting closed, but a few years ago, that wasn't the case.

For example, my question about Swift vs OCaml got closed (and deleted), but a question about SML vs OCaml got 81 upvotes in 2009, and the best answer got 136 upvotes.

Is there a specific, official rule that forbids such comparisons?

Call me a cynic, but it feels like SO got a bit too popular with people who just use it to get freelance jobs, and they jostle for status here. If they know Sift, say, but they don't know OCaml, their knee-jerk reaction is to close questions they can't answer that appear in "their" tag.

By the way, I'm voting to re-open the linked question (someone closed it after I linked to it). I think it's very useful to people studying either SML or OCaml.

Edit the supposedly similar question is about stating some differences between languages (as in a blog post), not about asking questions about said differences. My question is obviously different from that one.

Edit2 Why is this question getting downvoted and closed too? It's clearly not a dupe. Just click on the other question and read it. Don't just go by the title.

29
  • 4
    Most of the language comparison questions I see get closed because they're not really asking something specific enough. They basically come down to "which one is better," so they're a combination of too broad and opinion-based. I don't think questions comparing languages are inherently off-topic. I think it just depends on the scope of the comparison. Commented Aug 26, 2017 at 22:44
  • 2
    Incidentally, really old questions generally aren't dependable examples of current on-topic-ness. Commented Aug 26, 2017 at 22:46
  • 5
    see Gorilla vs. Shark -- "if you... don't want your question to get instantly closed... - try to keep Gorilla vs. Shark in mind."
    – gnat
    Commented Aug 26, 2017 at 22:52
  • 11
    @MaxB: The practical utility of the information is irrelevant; the question is the quality of it. There is no definitive answer for "Gorilla vs. Shark", just as there is no definitive answer for "SML vs. OCaml". That's what is wrong with them. Commented Aug 26, 2017 at 23:49
  • 2
    @MaxB: My point is that the analogy is not about the practicality of the information, but the incompleteness of it. Commented Aug 27, 2017 at 0:31
  • 6
    I'd just like to point the irony... You say your question should be fine because 'this old one was fine'. Now... This old one was closed because it is off topic (maybe it wasn't THEN, but it surely is now). Doesn't the fact the question you based yourself of is being closed as off topic a sign that, indeed, such questions aren't for this site?
    – Patrice
    Commented Aug 27, 2017 at 0:59
  • 3
    That blog post mentions practical utility a couple times, but the number one focus is on the answerability of such questions. As it said near the end, there are ways to ask practical, answerable questions that compare two things, but that is quite a fine line, and asking for a comparison of two programming languages is going to be some combination of too broad, unclear, and primarily opinion based.
    – user4639281
    Commented Aug 27, 2017 at 1:02
  • 6
    @MaxB for 8 years, it slipped under the radar. You flagged it to the most quality minded folk of this community and got a resounding 'no, this isn't on topic'. That is an answer in itself I'd say.
    – Patrice
    Commented Aug 27, 2017 at 1:06
  • 3
    It is not complete. It links to a more complete and anecdotal comparison that is still incomplete. Saying "There are quite a few syntactic differences" is not in any way complete.
    – user4639281
    Commented Aug 27, 2017 at 1:10
  • 1
    @TinyGiant experienced programmers are not particularly concerned about minor syntactic differences.
    – MWB
    Commented Aug 27, 2017 at 1:12
  • 15
    Now you've managed to insult me and the JavaScript community, and you've made a fairly bold assumption about me based on the content of my profile.
    – user4639281
    Commented Aug 27, 2017 at 2:31
  • 10
    You said "experienced programmers are not particularly concerned about minor syntactic differences", which implies that all those who are concerned about minor syntactic differences (as I do) are not "experienced programmers"; so I was asking you to clarify or better qualify your statement indirectly by bringing to light the implication of said statement. I did not ask you to make assumptions about my knowledge and competency based on the incomplete information I've chosen to provide in my profile, nor did I ask you to introduce a techno-religious thumb-war to the discussion.
    – user4639281
    Commented Aug 27, 2017 at 3:06
  • 5
    "Is there a specific rule that says that comparing languages is off-topic?" Yes: "Your questions should be reasonably scoped. If you can imagine an entire book that answers your question, you’re asking too much.". In other words, questions that are too broad for a Q&A format are prohibited and regularly closed.
    – Cody Gray Mod
    Commented Aug 27, 2017 at 5:06
  • 7
    Because it is not complete. And therefore not a good answer by our standards. A complete answer would easily approach book length.
    – Cody Gray Mod
    Commented Aug 27, 2017 at 5:44
  • 6
    @MaxB so stop being pedantic and picking at the 'irony' word I used and try to see the argument I'm trying to make. For someone 'not particularly concerned with minor syntactic differences' you get stuck in a pretty pedantic point over choice of word used. The argument is 'you based the topicality of your question on this old question. Community went ahead and closed old question to indicate it ISN'T on topic. Therefore your thinking that your question is on topic because this old one was doesn't hold anymore'
    – Patrice
    Commented Aug 27, 2017 at 13:20

1 Answer 1

13

if your question ... is a practical, answerable problem that is unique to software development then you’re in the right place to ask your question!
https://stackoverflow.com/help/on-topic

A question asking us to compare two or more things is not a practical, answerable problem. You are asking us to discuss, not to solve a problem. We prefer questions that can be answered, not just discussed

7
  • but it is answerable (see the answer that got 136 upvotes), and practical (you need to know about the differences if you are deciding which language to learn or use)
    – MWB
    Commented Aug 26, 2017 at 23:34
  • 8
    @MaxB: "Answerable" does not mean "you can write something called an 'answer' and get upvotes". An answer needs to be something more than just things a person will upvote. An answer has to be complete. And thus, an answerable question is a question that can have answers that are complete. Where looking at one answer can reasonably give you all you need to know. That is not the case for opinion-based questions; one answer will only give you that person's opinion. Commented Aug 26, 2017 at 23:52
  • @NicolBolas 136 people felt that it was complete enough, which is why they upvoted it.
    – MWB
    Commented Aug 27, 2017 at 0:27
  • 9
    @MaxB: No, they felt that they should upvote it. That doesn't mean that they would say it was complete. People upvote things for many reasons. Commented Aug 27, 2017 at 0:28
  • 2
    There's a dramatic difference between an answered question and an answerable question. Either way, a question being answered bears absolutely zero relevance to the question's topicality. A great answer can salvage a bad question, sure, but the question has to actually be an on-topic question, @MaxB.
    – fbueckert
    Commented Aug 27, 2017 at 1:55
  • @fbueckert If something is answered then it was answerable. The reverse is not necessarily true. That's just how English works. english.SE would be the right place to discuss it though, instead of here.
    – MWB
    Commented Aug 27, 2017 at 6:30
  • 2
    @MaxB you may want to give a read to Can a question with an accepted answer be closed as unanswerable
    – gnat
    Commented Aug 27, 2017 at 7:17

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