The source-code tag has no wiki summary.
8
votes
3answers
190 views
Explicitly say that Stack Overflow IS NOT for us to write your code
I think that when a user goes to ask his first question, that they should see something like this popup.
We are here to help solve problems. If your question is asking someone to write your code, ...
14
votes
0answers
151 views
Can I legally post Sun/Oracle JRE/JDK source code on Stack Overflow?
I want to post a JDK method's source code as part of my answer to a question on Stack Overflow. It looks like I can do this under the terms of the JRL (Java Research License), specifically:
A. ...
1
vote
1answer
67 views
How do I allow users to download my code for them to review?
How can I allow someone on Stack Overflow to download my source code so they can review it?
4
votes
1answer
77 views
Should code with simple syntax errors be assumed to be a typo?
Is it correct to change a syntax error in code that has been posted as part of a question?
After pointing out in the comments that there was a syntax error in the code posted in this question (in ...
-20
votes
1answer
136 views
“Best of” Stack Overflow answers in the form of a DLL? (extracted code from answers from Stack Overflow) [closed]
Update: Wow this received much more negative attention than I expected!
I still think there is value in culling out the quality reusable code that lies in the SO repository. I don't have interest ...
-14
votes
1answer
163 views
Is This Code License Compatible with StackExchange? [closed]
I want to ask a question on Stack Overflow but before I post code, I want to make sure the license I want to use (which is similar to many Open Source licenses) is compatible with Stack Exchange ...
2
votes
1answer
57 views
Code highlighting clarification
In this question, I have marked portion of html code and below another one. But the first code line is not being highlighted. Why are they behaving different?
6
votes
3answers
142 views
Is removing redundant code from a question a legitimate edit?
In this question, the guy pasted 150+ lines of code when the issue was with one specific line.
Is it legitimate to edit his question and keep only that single line?
The line:
...
12
votes
2answers
173 views
Are BIG questions OK?
After spending way too much time trying to find an annoying bug in my source-code, I thought of posting it on Stack Overflow. However, posting is would involve a lot of source-code, and a lot of ...
0
votes
1answer
69 views
Stack Overflow code to register with another account
So I registered on Stack Overflow the other day, and I was asked if I wanted to register with an already existing account. If I recall correctly the options were Facebook, Gmail and something else I ...
2
votes
4answers
123 views
How do I do a “good” code dump for a comprehensive example?
I came across a question where a comprehensive example would be very useful. So I wrote an example program showing one way to solve their problem.
My problem is that when I was done creating it, and ...
0
votes
1answer
80 views
Bug in code dump rejector
The system rejects code dumps without context from low-rep users by comparing the ratio of context (non-code-formatted text) to code (text which is wrapped in <pre>). (See also this feature ...
-4
votes
2answers
100 views
Inexact code in questions
I see a lot of questions here with inexact code snippets, where the questioner obviously re-typed or summarized the code that's causing the problem. This can make it difficult to distinguish between ...
-8
votes
1answer
141 views
Pasting runnable source code to Stackoverfow?
Runnable source code is often used as an additional part of the answer. Since it is not possible to paste runnable code to SO (as far as I know), the code is pasted to external sites like ideone or ...
33
votes
5answers
388 views
Are code troubleshooting questions really what we want to encourage?
In an effort to more fully understand the gestalt of Stack Overflow, I offer this question for perusal:
http://stackoverflow.com/questions/7513258/i-want-a-dialog-box-in-case-of-error#question
Since ...