2

I'm wondering if questions about whether a given programming practice has ever been the cause of a large problem, would be on topic here.

Note that when I say "programming practice" I mean a way of using one or more programming languages, not features of programming languages.

So programming practices would include particular design patterns or things like Yoda conditions but not things like dynamic typing.

I'm fairly certain that any question starting with "What are the worst ways that..." would be considered off-topic, so I would word questions like these in a definitely answerable way. "Has the Singleton Pattern ever gone badly wrong?" is a yes or no question, (which I already know the answer to.) I'm interested in knowing whether a particular technique has a failure mode and how bad it was if so, not in hearing a bunch of horror stories like this question that was marked non-constructive produced or making fun of obviously bad ideas.

4
  • doesn't that sound like way too broad of a question?
    – Patrice
    Commented May 10, 2019 at 3:08
  • I would ask about a single specific practice per question.
    – Ryan1729
    Commented May 10, 2019 at 3:08
  • 12
    It's still super broad, even with a single practice. "has this ever happened" is SUPER broad. Anyway how is that a "practical programming problem". It's pretty much the definition of a hypothetical
    – Patrice
    Commented May 10, 2019 at 3:09
  • 2
    Using the wrong pattern for the problem means it usually goes wrong. It happens frequently. Until you have your approach you really shouldn't start programming.
    – Noodles
    Commented May 12, 2019 at 6:47

2 Answers 2

24

I'm wondering if questions about whether a given programming practice has ever been the cause of a large problem, would be on topic here

This would be off-topic for several reasons including for being too broad a question and being somewhat subjective. It's asking for vignettes but without asking about a specific coding problem that needs to be solved. Also, any and potentially every answer could be equally valid

2
  • 1
    Would asking "if using X programming practice to solve Y specific coding problem has gone wrong" be any better?
    – Ryan1729
    Commented May 10, 2019 at 3:11
  • 10
    @Ryan1729: No, not in the least. Commented May 10, 2019 at 3:13
11

To add to the answer here. These answers could be very broad, they are also open to arguments over opinions. Questions that invite debate around opinions are also off topic.

We recently burned the code smell and the designs tags. These type of questions would fall into both of these categories.

Considering it's also an 'anti-question'. Asking how can this design pattern go wrong, instead of how does this need to be to work effectively (still too broad). It's like inviting video bloopers of code onto the site. May be entertaining, may be educational, but will be a bottomless pit of answers.

You must log in to answer this question.

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