Skip to main content
added 93 characters in body
Source Link
BoltClock Mod
  • 722.1k
  • 38
  • 431
  • 392

Canonical questions are great, but their wiki answers, by virtue of being wikis, are threatened by scope creep. Many canonical questions have survived without falling victim to scope creep and have seen a lot of success. They are by no means a waste of time; in fact, they've probably collectively saved hundreds of thousands of developer hours. SomeThe vast majority of canonical questions — usually, not self-answered ones — achieved that status organically become canonical over time; that's even better, and in fact the goal of Stack Overflow. But scope creep is the problem you're talking about, not canonical questions per se. And I agree with what you've said.

All an NRE tells you is that, at the specific point of time in which it was thrown, the code was trying to call or dereference something that wasn't there. But code is complex; there are so many scenarios that can all ultimately boil down to exactly this, and not all of them are debugged the same way.1 There are some common techniques you can use to try to suss out the cause of an NRE, which can be discussed in a canonical question, but once an individual question gets too complex or specific, that's when the question should just be answered on the spot, perhaps with a reference to the canonical question, instead of attempting to close it as a duplicate and dumping everything into that canonical question's answer. That's the kind of scope creep that can affect such an answer and make it, as you say, a waste of time or at least incredibly exhausting to go through.

Here's a suggestion: instead of having a single question that covers everything you could possibly know about NREs (and one for each language at that), have one for the simplest and most common cases, then perhaps have another layer of questions for different categories. For example, collection-related NREs can have their own canonical; each UI framework can have its own canonical for NREs (for instance XAML-related NREs, which are an absolute debugging nightmare especially if you're on WinRT/UWP); other framework-specific questions can either have their own canonical or not at all; and so on. The answer to the general or main canonical question can even link to these specific ones. This reduces clutter in the main canonical question while making specific canonical questions even easier to find for their respective audiences.


1 I once traced an NRE to a bad connection string that was causing a key object to be left null. This code was not my own but code I was tasked with maintainingcalled in to fix. It took me half an hour, even using the Visual Studio debugger.

Canonical questions are great, but their wiki answers, by virtue of being wikis, are threatened by scope creep. Many canonical questions have survived without falling victim to scope creep and have seen a lot of success. They are by no means a waste of time; in fact, they've probably collectively saved hundreds of thousands of developer hours. Some questions organically become canonical over time; that's even better, and in fact the goal of Stack Overflow. But scope creep is the problem you're talking about, not canonical questions per se. And I agree with what you've said.

All an NRE tells you is that, at the specific point of time in which it was thrown, the code was trying to call or dereference something that wasn't there. But code is complex; there are so many scenarios that can all ultimately boil down to exactly this, and not all of them are debugged the same way.1 There are some common techniques you can use to try to suss out the cause of an NRE, which can be discussed in a canonical question, but once an individual question gets too complex or specific, that's when the question should just be answered on the spot, perhaps with a reference to the canonical question, instead of attempting to close it as a duplicate and dumping everything into that canonical question's answer. That's the kind of scope creep that can affect such an answer and make it, as you say, a waste of time or at least incredibly exhausting to go through.

Here's a suggestion: instead of having a single question that covers everything you could possibly know about NREs (and one for each language at that), have one for the simplest and most common cases, then perhaps have another layer of questions for different categories. For example, collection-related NREs can have their own canonical; each UI framework can have its own canonical for NREs (for instance XAML-related NREs, which are an absolute debugging nightmare); other framework-specific questions can either have their own canonical or not at all; and so on. The answer to the general or main canonical question can even link to these specific ones. This reduces clutter in the main canonical question while making specific canonical questions even easier to find for their respective audiences.


1 I once traced an NRE to a bad connection string that was causing a key object to be left null. This code was not my own but code I was tasked with maintaining. It took me half an hour, even using the Visual Studio debugger.

Canonical questions are great, but their wiki answers, by virtue of being wikis, are threatened by scope creep. Many canonical questions have survived without falling victim to scope creep and have seen a lot of success. They are by no means a waste of time; in fact, they've probably collectively saved hundreds of thousands of developer hours. The vast majority of canonical questions — usually, not self-answered ones — achieved that status organically over time; that's even better, and in fact the goal of Stack Overflow. But scope creep is the problem you're talking about, not canonical questions per se. And I agree with what you've said.

All an NRE tells you is that, at the specific point of time in which it was thrown, the code was trying to call or dereference something that wasn't there. But code is complex; there are so many scenarios that can all ultimately boil down to exactly this, and not all of them are debugged the same way.1 There are some common techniques you can use to try to suss out the cause of an NRE, which can be discussed in a canonical question, but once an individual question gets too complex or specific, that's when the question should just be answered on the spot, perhaps with a reference to the canonical question, instead of attempting to close it as a duplicate and dumping everything into that canonical question's answer. That's the kind of scope creep that can affect such an answer and make it, as you say, a waste of time or at least incredibly exhausting to go through.

Here's a suggestion: instead of having a single question that covers everything you could possibly know about NREs (and one for each language at that), have one for the simplest and most common cases, then perhaps have another layer of questions for different categories. For example, collection-related NREs can have their own canonical; each UI framework can have its own canonical for NREs (for instance XAML-related NREs, which are an absolute debugging nightmare especially if you're on WinRT/UWP); other framework-specific questions can either have their own canonical or not at all; and so on. The answer to the general or main canonical question can even link to these specific ones. This reduces clutter in the main canonical question while making specific canonical questions even easier to find for their respective audiences.


1 I once traced an NRE to a bad connection string that was causing a key object to be left null. This code was not my own but code I was called in to fix. It took me half an hour, even using the Visual Studio debugger.

added 65 characters in body
Source Link
BoltClock Mod
  • 722.1k
  • 38
  • 431
  • 392

Canonical questions are great, but their wiki answers, by virtue of being wikis, are threatened by scope creep. Many canonical questions have survived without falling victim to scope creep and have seen a lot of success. They are by no means a waste of time; in fact, they've probably collectively saved hundreds of thousands of developer hours. Some questions organically become canonical over time; that's even better, and in fact the goal of Stack Overflow. But scope creep is the problem you're talking about, not canonical questions per se. And I agree with what you've said.

All an NRE tells you is that, at the specific point of time in which it was thrown, the code was trying to call or dereference something that wasn't there. But code is complex; there are so many scenarios that can all ultimately boil down to exactly this, and not all of them are debugged the same way.1 There are some common techniques you can use to try to suss out the cause of an NRE, which can be discussed in a canonical question, but once an individual question gets too complex or specific, that's when the question should just be answered on the spot, perhaps with a reference to the canonical question, instead of attempting to close it as a duplicate and dumping everything into that canonical question's answer. That's the kind of scope creep that can affect such an answer and make it, as you say, a waste of time or at least incredibly exhausting to go through.

Here's a suggestion: instead of having a single question that covers everything you could possibly know about NREs (and one for each language at that), have one for the simplest and most common cases, then perhaps have another layer of questions for different categories. For example, collection-related NREs can have their own canonical; each UI framework can have its own canonical for NREs (for instance XAML-related NREs, which are an absolute debugging nightmare); other framework-specific questions can either have their own canonical or not at all; and so on. The answer to the general or main canonical question can even link to these specific ones. This reduces clutter in the main canonical question while making specific canonical questions even easier to find for their respective audiences.


1 I once traced an NRE to a bad connection string that was causing a key object to be left null. This code was not my own but code I was tasked with maintaining. It took me half an hour, even using the Visual Studio debugger.

Canonical questions are great, but their wiki answers, by virtue of being wikis, are threatened by scope creep. Many canonical questions have survived without falling victim to scope creep and have seen a lot of success. They are by no means a waste of time; in fact, they've probably collectively saved hundreds of thousands of developer hours. Some questions organically become canonical over time; that's even better, and in fact the goal of Stack Overflow. But scope creep is the problem you're talking about, not canonical questions per se. And I agree with what you've said.

All an NRE tells you is that, at the specific point of time in which it was thrown, the code was trying to call or dereference something that wasn't there. But code is complex; there are so many scenarios that can all ultimately boil down to exactly this, and not all of them are debugged the same way.1 There are some common techniques you can use to try to suss out the cause of an NRE, which can be discussed in a canonical question, but once an individual question gets too complex or specific, that's when the question should just be answered on the spot, perhaps with a reference to the canonical question, instead of attempting to close it as a duplicate and dumping everything into that canonical question's answer. That's the kind of scope creep that can affect such an answer and make it, as you say, a waste of time or at least incredibly exhausting to go through.

Here's a suggestion: instead of having a single question that covers everything you could possibly know about NREs (and one for each language at that), have one for the simplest and most common cases, then perhaps have another layer of questions for different categories. For example, collection-related NREs can have their own canonical; each UI framework can have its own canonical for NREs (for instance XAML-related NREs, which are an absolute debugging nightmare); other framework-specific questions can either have their own canonical or not at all; and so on. The answer to the general or main canonical question can even link to these specific ones. This reduces clutter in the main canonical question while making specific canonical questions even easier to find for their respective audiences.


1 I once traced an NRE to a bad connection string that was causing a key object to be left null. It took me half an hour, even using the Visual Studio debugger.

Canonical questions are great, but their wiki answers, by virtue of being wikis, are threatened by scope creep. Many canonical questions have survived without falling victim to scope creep and have seen a lot of success. They are by no means a waste of time; in fact, they've probably collectively saved hundreds of thousands of developer hours. Some questions organically become canonical over time; that's even better, and in fact the goal of Stack Overflow. But scope creep is the problem you're talking about, not canonical questions per se. And I agree with what you've said.

All an NRE tells you is that, at the specific point of time in which it was thrown, the code was trying to call or dereference something that wasn't there. But code is complex; there are so many scenarios that can all ultimately boil down to exactly this, and not all of them are debugged the same way.1 There are some common techniques you can use to try to suss out the cause of an NRE, which can be discussed in a canonical question, but once an individual question gets too complex or specific, that's when the question should just be answered on the spot, perhaps with a reference to the canonical question, instead of attempting to close it as a duplicate and dumping everything into that canonical question's answer. That's the kind of scope creep that can affect such an answer and make it, as you say, a waste of time or at least incredibly exhausting to go through.

Here's a suggestion: instead of having a single question that covers everything you could possibly know about NREs (and one for each language at that), have one for the simplest and most common cases, then perhaps have another layer of questions for different categories. For example, collection-related NREs can have their own canonical; each UI framework can have its own canonical for NREs (for instance XAML-related NREs, which are an absolute debugging nightmare); other framework-specific questions can either have their own canonical or not at all; and so on. The answer to the general or main canonical question can even link to these specific ones. This reduces clutter in the main canonical question while making specific canonical questions even easier to find for their respective audiences.


1 I once traced an NRE to a bad connection string that was causing a key object to be left null. This code was not my own but code I was tasked with maintaining. It took me half an hour, even using the Visual Studio debugger.

added 39 characters in body
Source Link
BoltClock Mod
  • 722.1k
  • 38
  • 431
  • 392

Canonical questions are great, but their wiki answers, by virtue of being wikis, are threatened by scope creep. Many canonical questions have survived without falling victim to scope creep and have seen a lot of success. They are by no means a waste of time; in fact, they've probably collectively saved hundreds of thousands of developer hours. Some questions organically become canonical over time; that's even better, and in fact the goal of Stack Overflow. But scope creep is the problem you're talking about, not canonical questions per se. And I agree with what you've said.

All an NRE tells you is that, at the specific point of time in which it was thrown, the code was trying to call or dereference something that wasn't there. But code is complex; there are so many scenarios that can all ultimately boil down to exactly this, and not all of them are debugged the same way.1 There are some common techniques you can use to try to suss out the cause of an NRE, which can be discussed in a canonical question, but once an individual question gets too complex or specific, that's when the question should just be answered on the spot, perhaps with a reference to the canonical question, instead of attempting to close it as a duplicate and dumping everything into that canonical question's answer. That's the kind of scope creep that can affect such an answer and make it, as you say, a waste of time or at least incredibly exhausting to go through.

Here's a suggestion: instead of having a single question that covers everything you could possibly know about NREs (and one for each language at that), have one for the simplest and most common cases, then perhaps have another layer of questions for different categories. For example, collection-related NREs can have their own canonical; each UI framework can have its own canonical for NREs (for instance XAML-related NREs, which are an absolute debugging nightmare); other framework-specific questions can either have their own canonical or not at all; and so on. The answer to the general or main canonical question can even link to these specific ones. This reduces clutter in the main canonical question while making specific canonical questions even easier to find for their respective audiences.


1 I once traced an NRE to a bad connection string that was causing a key object to be left null. It took me half an hour, even using the Visual Studio debugger.

Canonical questions are great, but their wiki answers, by virtue of being wikis, are threatened by scope creep. Many canonical questions have survived without falling victim to scope creep and have seen a lot of success. They are by no means a waste of time; in fact, they've probably collectively saved hundreds of thousands of developer hours. Some questions organically become canonical over time; that's even better, and in fact the goal of Stack Overflow. But scope creep is the problem you're talking about, not canonical questions per se. And I agree with what you've said.

All an NRE tells you is that, at the specific point of time in which it was thrown, the code was trying to call or dereference something that wasn't there. But code is complex; there are so many scenarios that can all ultimately boil down to exactly this, and not all of them are debugged the same way.1 There are some common techniques you can use to try to suss out the cause of an NRE, which can be discussed in a canonical question, but once an individual question gets too complex or specific, that's when the question should just be answered on the spot, perhaps with a reference to the canonical question, instead of attempting to close it as a duplicate and dumping everything into that canonical question's answer. That's the kind of scope creep that can affect such an answer and make it, as you say, a waste of time or at least incredibly exhausting to go through.

Here's a suggestion: instead of having a single question that covers everything you could possibly know about NREs (and one for each language at that), have one for the simplest and most common cases, then perhaps have another layer of questions for different categories. For example, collection-related NREs can have their own canonical; each UI framework can have its own canonical for NREs (for instance XAML-related NREs, which are an absolute debugging nightmare); other framework-specific questions can either have their own canonical or not at all; and so on. The answer to the general or main canonical question can even link to these specific ones. This reduces clutter in the main canonical question while making specific canonical questions even easier to find for their respective audiences.


1 I once traced an NRE to a bad connection string that was causing a key object to be left null. It took me half an hour.

Canonical questions are great, but their wiki answers, by virtue of being wikis, are threatened by scope creep. Many canonical questions have survived without falling victim to scope creep and have seen a lot of success. They are by no means a waste of time; in fact, they've probably collectively saved hundreds of thousands of developer hours. Some questions organically become canonical over time; that's even better, and in fact the goal of Stack Overflow. But scope creep is the problem you're talking about, not canonical questions per se. And I agree with what you've said.

All an NRE tells you is that, at the specific point of time in which it was thrown, the code was trying to call or dereference something that wasn't there. But code is complex; there are so many scenarios that can all ultimately boil down to exactly this, and not all of them are debugged the same way.1 There are some common techniques you can use to try to suss out the cause of an NRE, which can be discussed in a canonical question, but once an individual question gets too complex or specific, that's when the question should just be answered on the spot, perhaps with a reference to the canonical question, instead of attempting to close it as a duplicate and dumping everything into that canonical question's answer. That's the kind of scope creep that can affect such an answer and make it, as you say, a waste of time or at least incredibly exhausting to go through.

Here's a suggestion: instead of having a single question that covers everything you could possibly know about NREs (and one for each language at that), have one for the simplest and most common cases, then perhaps have another layer of questions for different categories. For example, collection-related NREs can have their own canonical; each UI framework can have its own canonical for NREs (for instance XAML-related NREs, which are an absolute debugging nightmare); other framework-specific questions can either have their own canonical or not at all; and so on. The answer to the general or main canonical question can even link to these specific ones. This reduces clutter in the main canonical question while making specific canonical questions even easier to find for their respective audiences.


1 I once traced an NRE to a bad connection string that was causing a key object to be left null. It took me half an hour, even using the Visual Studio debugger.

added 50 characters in body
Source Link
BoltClock Mod
  • 722.1k
  • 38
  • 431
  • 392
Loading
Source Link
BoltClock Mod
  • 722.1k
  • 38
  • 431
  • 392
Loading