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-...
Which should be done first: use cases or user stories?
Here, the asker is trying to find a good way to capture their requirements, for the special case of a solo developer.
We don't do recommendations. But explaining how a technique can fit into a development process is perfectly on topic. In particular, I'd like to see more questions on requirements ...
Is there a programming paradigm that promotes making dependencies extremely obvious to other programmers?
This question rescues itself from being yet another "Name that Thing" question, because it touches on a topic that I consider extremely important, an issue that we've all been affected by, but which is seldom talked about: how do you make sure that your ...
How to specify a precondition (LSP) in an interface in C#?
A nice design-level question. OP is trying to map some constraints into the C# type system (though the same problem arises in Java, C++, …). They have tried various solutions and explain their thoughts in the question. Instead of weighing down the helpful code examples with unnecessary ...
What is the importance of the vision document and how it helps development?
Most of our process-level questions are about “how do I agile?”. This question instead asks about vision documents, and how they assist in software development.
I like that OP seems to have done some prior research before asking here, and articulates what they do and don't ...
Strategies for merging 1 year of development in Visual Studio
This is about a real-world problem the OP faces, not a question for a hypothetical or upcoming scenario, and it is clearly located in the domain of software engineering. Though some tools are mentioned, the question is mostly independent from the specific version control system, so it is really a ...
Agile stabilization and release management
In this question, a rather waterfally organization is trying to go Agile. How do we structure our team? How do we deal with technical debt and maintenance work?
Questions about the software-development life cycle (and ways to master it) are at the core of Software Engineering, and I think this question is a nice ...
Let's handle this case-by-case using existing tools versus establishing another informal meta-rule. Things I've considered:
Deciding what's clickbait or not is a subjective call best handled case-by-case.
Deciding which metaphors are productive or not is subjective.
This meta-rule would be easily misinterpreted as a "no metaphors" rule.
"No metaphors" then ...
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 ...
Effectively tracking changes to configuration from dev to prod
Clearly a "Systems Lifecycle" question, which needs combined organizational and technical measures, so undoubtly within the site's scope. Also a "real life" situation - I have encountered these kind of questions multiple times in the past, and I guess others, too. So I am a bit astonished the ...
How do I handle disagreement in a code review regarding an unlikely edge case?
Code reviews and decisions which edge cases to handle in unit tests are clearly within the scope, the question is well written, and it is not a hypothetical case but a problem from a real-world situation. Moreover, the number of votes for the question as well as for the answers ...
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 ...
Writing tests for code whose purpose I don't understand
IMHO the best questions here are ones which arise from real world software development situations, and this one fits perfectly into this category. Testing and refactoring is clearly and unambiguously within the scope of the site. And the number of votes shows many people here like questions like this.
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 ...
Should every method return a value for Unit Testing?
This question is about adapting a design for testability. But it turns out to be a bit of an XY-problem. Since OP has provided a couple of code snippets for context and has expressed their intention, the answers were able to point out that the “system under test” doesn't just have to be a single method.
Python - Architecture for related instance attributes
A design level question. It's a bit long to summarize here, but OP does a superb job of showing possible solutions which they tried, and how these are unsatisfactory solutions to the problem. I wish every question here was as well thought out!
RESTful API and i18n: how to design the response?
A design level question on designing a RESTful API. Normally, content negotiation is done to decide on a single representation of some resource, but here OP needs a mechanism to request all representations.
As in any good design question, OP has thought of possible solutions before asking here and explains ...
How to describe the architecture of a software product?
A great question. API-level documentation is easy, but how can I communicate an architecture?
While the question may seem basic, it is fiercely on-topic for Software Engineering. OP has (literally) done their homework before coming here. In its original form the question was a bit rambly, but I tried ...
How do you develop software without acceptance criteria?
Ok, it is arguable if this is a dupe (but since it was not closed after one week, I guess it is not "dupe enough". Nevertheless how to gather requirements, especially when your organization does not provide you with a useful spec, seems to be a topic in which our community is heavily interested here.
How to convert the last rc (or other pre-release) into the production version using semver?
A process-level question: Now that I've built and tested v1.2.3-rc.2 of my software, how do I turn that into my v1.2.3 release?
WHEN is it most appropriate for a Development Team to create/update their definition of “Done”?
A process-level question. Very simple but also very important. I think this kind of question is a perfect example of the “Wiki” aspect in the original Stack Exchange concept.