14

This question already has an answer here:

It's time to choose a Question of the Week! The Question of the Week demonstrates what a good on-topic question looks like. Last week, we picked:

Suggest the next Question of the Week by answering here with a link to the question, and a short explanation why it's an exemplary on topic question. You may suggest any question that was posted between 2017-01-22 and 2017-01-28 and is not closed. You can use this search query to quickly find good candidates.

Vote on suggestions to select the next Question of the Week. Ask yourself:

  1. Is this question firmly and unambiguously within the scope of Software Engineering?

  2. Is this an interesting and well-written question?

  3. Would I like to see more questions like that?

The next QotW will be the suggestion with the highest score by next sunday. If you have doubts about a suggestion, you can discuss it in the comments.

Vote for this meta question if you like the Question of the Week contest. This makes the contest more visible in the community bulletin on the right. It also indicates whether this contest should be continued. After this week, I'll open up a discussion on whether we want these contests to continue, and what could be improved.

marked as duplicate by amon, Community Feb 5 '17 at 9:11

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • I put a featured tag on the last post and it only received 6 votes. I don't think this is working out. – Thomas Owens Jan 29 '17 at 12:14
  • 3
    @ThomasOwens I understand. Once this week wraps up we'll have four data points. On that basis, I'll then start a discussion on the future of the Question of the Week. Maybe a question of the month would be better, maybe this should stop entirely. But I don't want to decide this on my own. My personal expectation of minimum community involvement (5 or more votes for the winning suggestion) is still being met, although barely. – amon Jan 29 '17 at 12:21
  • @ThomasOwens it's interesting to observe how it seems to work better without featured tag, I totally didn't expect that. Maybe it's just an accidental thing or maybe site visitors indeed prefer intriguing "hot" section at sidebar panel to boring / official "featured", I don't know – gnat Feb 1 '17 at 10:39
8

How to correct a mistake in the test, after writing implementation

An interesting question about how to “recover” from when the ideal TDD cycle goes wrong.

Usually, TDD is only presented in terms of “best-case examples”. Maybe, there will be a mention of what not to test, or when to skip the green-refactor bit when it is really obvious how the fully-refactored feature-complete implementation should look like.

However, most books and tutorials are very light on what to do when the TDD cycle goes awry. What if a test doesn't test what you think it does? Or, as is the case in this question: the test is simply wrong?

Not only is this question a good question, it is also a question whose answers expand the sum total knowledge about software engineering in an area where not much (if any) knowledge was previously recorded.

  • There are some really interesting answers here. – MetaFight Feb 4 '17 at 0:11
4

Large class with single responsibility

Aka. “I have a god object, how can I cope with the complexity?” Design reviews are considered on topic, so this kind of question is absolutely acceptable. Luckily for us, OP didn't show us the whole 2500 line class but only a representative sample, and has focused the question on a single topic: how such a class can be made to obey the single-responsibility principle.

4

When should dependencies be updated?

Configuration management is one of the central topics in the SDLC, and this question is about a burning issue for many development teams. Moreover, this is nothing you can easily read in a text book, a good answer needs some real world experience. Though the topic seems to be broad and to some degree opinionated at a first glance, the question can be answered in a very sensible manner in a few paragraphs.

3

What are the actors in a backend server use case?

A short, simple question about creating good use cases. And that makes it perfectly on topic.

3

Professional way to produce a large problem without filling up huge arrays: C++, free memory from part of an array

Though worded in terms of "C++", this is clearly an conceptual question about a real problem the OP faces, mostly independent from the programming language.The topmost answer shows there is a non-trivial, but canonical solution for it. This is the kind of question this site is ideal for.

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