Questions tagged [best-practices]

Questions about the best way to do something on a Stack Exchange site, not for questions about questions about best practices.

2
votes
1answer
97 views

Are “best-practices/best-tools” questions legitimate? [duplicate]

Possible Duplicate: Exceptional cases for list questions There are a lot of questions asking about some kind of subjective things, such as best-practices or best tools. Each such tool/practice ...
3
votes
0answers
167 views

How to write a good question? [duplicate]

I face the problem of writing a good question in Stack-overflow sites. What is the best way to write a good question?
1
vote
1answer
122 views

Best practice for SO-titles according to prefixing/suffixing technologies

I often see people editing questions to remove technologies from the title or at least commenting for example "Please don't prefix your titles with "C#, Gridview, LINQ", that's what the tags are for". ...
0
votes
1answer
60 views

Recommended sites to link to when you have an attachment

I frequently post in the delphi topic. Sometimes it is nice to be able to attach sourcecode of components that solve a particular issue. Stack Overflow does not allow attachments outright for good ...
4
votes
5answers
233 views

Why is using “What is the Best way to…” in questions often discouraged?

Of course I know the problems that could cause open question (infinite debate...). But the words "Best Practices" exist. I think it's ridiculous to blame people for asking what is the best way to do ...
5
votes
0answers
128 views

Is it considered bad practice to create and accept a summary answer when a subjective split leads to two or more acceptable answers?

Over on http://english.stackexchange.com, I created a question that contained unintentionally polarizing subjectivity. Because of this, I am now faced with the possibility of siding with a single ...
20
votes
1answer
992 views

Correct procedure for dealing with adf.ly links (shortening service that pays poster)

What's the recommended approach to dealing with posts that include links shortened using AdFly. Should it the link be edited away or replaced, flagged, downvoted, or simply ignored? Unless I've ...
1
vote
1answer
102 views

Patterns/Best Practices version of Stack Overflow [closed]

I've been thinking about this for some time now. Stack Overflow is great for looking up answers to specific (mostly long tail) questions. Sometimes you find bits and pieces of what you need, and put ...
21
votes
2answers
405 views

How and when should we use the “invalid flag” flag? [closed]

I found the "invalid flag" option, and have used it a few times. Mostly where someone's flagged a post as "very low quality", but it's either been fixed or it was never really that bad. But it seems ...
6
votes
3answers
698 views

Answering the 'actual question' as opposed to the 'real question'

I notice a lot of answers that are somewhat tangential to the question in hand, especially when the answer goes against best practice. For example, if somebody asks "Why can't I do something in my ...
4
votes
0answers
509 views

StackOverflow vs Programmers.StackExchange [duplicate]

Possible Duplicate: Choosing between Stack Overflow and Programmers Stack Exchange? It seems that both StackOverflow and Programming.StackExchange are both about programming and software ...
12
votes
2answers
247 views

Under which circumstances should I delete my own question or answer

While I was searching through meta I've found several postings about deleting. How it works, who can do it and so on. But I never saw a comprehensive list, in which cases someone should delete their ...
3
votes
3answers
97 views

suggestion on how to use this site to new users

I noticed that often new users aren't aware on how use property stackoverflow function like accepting answers or upvoting. For example in certain cases they received a clearly right answer with many ...
2
votes
0answers
72 views

is it fair to incompletely answer a question just to be first in? [duplicate]

Possible Duplicate: Fastest Gun in the West Problem I read a question today, and there were two answers, one which didn't address the op's needs, and the second which only answered half the ...
3
votes
2answers
188 views

Was a good question closed by blind obedience to the rules?

Someone asked this question: https://stackoverflow.com/questions/5556112/best-practices-to-set-up-the-most-kung-fu-build-deploy-environment-in-java The question was clear. There were several answers,...
2
votes
1answer
366 views

Code Complete: Stack Overflow edition?

Apologies in advance if this has already been covered, but the similar-looking questions I found here didn't quite cover the area I'd like to. I've been reading a lot lately, and like a lot of folks ...
18
votes
6answers
442 views

Tagging best practices

I am wondering what I should do when tagging a question that fits multiple tags, in the particular case were the question might belong to general as well as more specific tags. Let me give you an ...
2
votes
4answers
217 views

Answer homework questions literally or best practice

This question sparked a short debate about whether it's best to answer homework questions in terms of best practice, or if it's better to answer literally. In this case, the practice of subclassing ...
3
votes
1answer
137 views

How do we deal with a recurring question like OS install base statistics?

In the [iphone] tag, there's a commonly recurring question about install base statistics for the various OS versions out there. While developers can use this information to determine what ...
6
votes
3answers
261 views

Acceptable to group together many answers into a new one, explaining when each is appropriate?

I read this question when only this answer was present. I knew of other answers, but since there are so many possible answers I chose to give several of them giving use cases for each (e.g. the first ...
2
votes
1answer
96 views

What information should I include / not include in my posts? [closed]

Is there any information other than a password that would be considered a security threat? I am primarily interested in knowing what could compromise the security of a server, rather than the ...
3
votes
2answers
311 views

One single best answer or multiple answers in community wiki style questions?

Is it considered good practice to accumulate multiple answers into one or should one provide multiple answers in questions where no single correct answer could be defined? I am asking because it ...
3
votes
1answer
72 views

Feature Request - The answer you're commenting on has been updated

I've come across the following two scenarios recently; I accidentally added a half written answer, so I quickly deleted it, edited it then undeleted it. It was a pretty good answer, but then I ...
6
votes
2answers
250 views

Why is the best-practices tag not allowed on SO any more? [closed]

I have nothing to add to the title: Why is the [best-practices] tag not allowed on SO any more?
5
votes
3answers
197 views

How much time is too much to spend answering a question?

I'm getting frustrated when I'll spend 30 minutes writing and expanding upon an answer, only to have a worse answer get enough of a head-start that no one even reads past it. Most recently was on ...
1
vote
2answers
111 views

Posting Responses to Code Golf Questions in a Nonexistent Language [closed]

I'm working on a general-purpose programming language. In order to practice using it, gain a bit of recognition, and work out kinks in the design, I'd like to use it to solve some code golf questions ...
1
vote
3answers
142 views

What format should Area 51 questions take?

I've been dealing with this since my first visit to Area 51, but I thought it was by design. Now it seems it's not just me; Joel Spolsky described my issue eloquently. Relevant snippet (emphasis ...
14
votes
4answers
155 views

Is it OK to put a link to SO questions in a program comments?

In quite some codebase you can see comments stating things like: // Workaround for defect 'xxx', (See bug 1434594 on Sun's bugparade) So I've got a few questions, but they're all related. Is it OK ...
4
votes
2answers
315 views

“You beat me to it!” comments

Can we stop doing this? It doesn't add anything other than clutter.
6
votes
5answers
277 views

Should pictures be linked to, or embedded?

What are the general guidelines on when to embed a picture in an answer and when to link it? F.e. If you post a pictured guide on how to solve a question, should you embed the pictures or just link ...
5
votes
3answers
172 views

What is the best way to update your status on a question?

When progress is made after asking a question I have been editing my original post and adding progress at the bottom. Is this the best practice or is there a better way? Would comments be better? -...
0
votes
0answers
125 views

How to handle questions which change / evolve / involve troubleshooting? [duplicate]

Possible Duplicate: Exit strategies for “chameleon questions” This happens to me a lot, especially on ServerFault. I'll look for some examples from SF and post them later, but for now,...
1
vote
4answers
89 views

Can I ask about preference of a programming practice that doesn't practically affect the code?

The question is a little vague, so let me elaborate: I want to ask whether or not the uers of Stack Overflow include return 0 in their code even though ISO C++ doesn't require it. This doesn't really ...
14
votes
3answers
244 views

Best Practice for Answering A Question if You Aren't Confident in Your Answer

Hi all, if this is a duplicate, I sincerely apologize. I wasn't able to find it when I searched, but that doesn't mean much. There have been several occasions (this one for example) on SO where I ...
0
votes
2answers
82 views

better to post question with separate answers or a question with answers in the main body? [duplicate]

Possible Duplicates: Etiquette for answering your own question Should I answer my own question, or not? I want to post a question on which I've done already quite a lot of research. I want to ...
5
votes
1answer
108 views

Advice on linking to code repositories for examples

Please take a look at this answer to this question. In the answer, I am suggesting that the OP take a look at some code that exists in the Linux kernel to use as an example, in particular drivers/...
3
votes
4answers
213 views

My bounty is about to expire and I didn't get a good answer, just my own workaround

I posted a question to StackOverflow about an unusual issues I desperately needed help fixing. When I didn't get any relevant answers and the project deadline was approaching, I created a 500 point ...
10
votes
5answers
425 views

Poor answers and accept rate [duplicate]

What's the recommended approach when you ask a question and you don't actually get valid answers? It'd normally leave the question as unanswered but, of course, that leads to getting a low acceptance ...
3
votes
3answers
194 views

Best Practices when editing your own answer

What are the best practices when editing your own answer (for whatever reason, the question became clearer, a comment made you realize a mistake, you had a new idea, did some testing, etc). Here are ...
22
votes
6answers
531 views

Acceptable solution for 'answer copying'?

I am sure this scenario is familiar to all of you. You click an unanswered question and after reading the question, you want to help and answer. After you answered, you remain the first and only ...
7
votes
5answers
160 views

Closing questions just because the OP knows the answer: good or bad?

It seems some think if an OP knows the answer to their own question, it should be closed as "Not a real question." I disagree. Here is an example. The OP posted some C# trivia. The question was ...
2
votes
2answers
106 views

Section for tutorials and guides [duplicate]

Many of the important things I have learned about programming best practices and security, have come from questions like this: Guide to Website Authentication. Can we have a way to aggregate all of ...
6
votes
2answers
118 views

Re-asking a question

There have been a few cases where I've asked a question on StackOverflow, and received a number of good responses which then made me realize that there was a much better/clearer/more concise way to to ...
0
votes
1answer
121 views

You've selected an answer, but a better one comes along. What to do? [duplicate]

Possible Duplicate: What answer to accept? This questions the intensions of SO. What if someone comes up with a great, insightful answer for your question and you select it as the best answer, ...
1
vote
3answers
169 views

Formatting for comprehension tips

While I'm certain that I pay more attention to this than average, I still believe every user should, at least periodically, remember that judicious text formatting aids reading comprehension. And as ...
3
votes
4answers
549 views

How to correct trivial mistakes in answers?

What is the proper way to correct trivial mistakes in answers? Correctness of even small details is desirable, but especially important when programming. Examples: Case A: Use the FooBra library....
0
votes
1answer
54 views

Where should I put code that implements the answer to my question?

I asked a question and received an answer that I accepted as the best one. The guy who gave that answer said that if I were to write the code he had suggested, he'd like to see it as he would find it ...
5
votes
1answer
110 views

Is it bad behavior to edit and answer a question?

From time to time I notice questions that could be improved (in style, punctuation, clarity of thought, tags, etc.) But I also have the answer to them. I just feel wrong editing a question (even for ...
1
vote
4answers
206 views

What is accepted practice for explaining your answer?

This is something that I've noticed is especially prevalent on SQL-related questions but applies to any kind of code question. I'll see a new user, and their question illustrates that they're new to ...
2
votes
3answers
260 views

How do I discourage bad programming practice in SO questions?

This question can apply to any computer language, but my example is C++. Many questions (quite helpfully) supply sample code (which I can paste into an IDE and try), but use using namespace std; ...