Questions tagged [copy-paste-programming]
12 questions
29
votes
17 answers
What's a good, concise way to explain the dangers of copy-paste programming to non-programmers?
I'm looking for a good analogy or metaphor that could illustrate the problems of copy-paste programming to non-programmers. I occasionally do code/system reviews for potential clients, and one of the common problems I see are vast amounts of…

E.Z. Hart
- 1,079
- 8
- 12
18
votes
5 answers
How do I safely write code in my own 'words' and not plagiarize?
I understand plagiarism and paraphrasing fairly well when it comes to writing a research paper, but those equivalent areas in programming seem foreign to me. I've looked up the topics online, and surprisingly there is not as much material on the…
Anonymous
6
votes
3 answers
practical copy/paste clipboard model of recent web HTML5 browsers?
the reader is expected to be an advanced Linux developer, having read ALP and having developed advanced GUI applications on Linux using GTK or Qt; notice that sadly I am not a native English speaker (but French).
I have difficulties in understanding…

Basile Starynkevitch
- 32,434
- 6
- 84
- 125
4
votes
3 answers
When is 'cloning', rather than reusing, a module acceptable design solution?
For this question, I'll give an example module to facilitate the discussion, Let's say the module is a calculation engine, It currently servers its purpose for its current audience. The requirement is to clone the same engine but with some tweaking…

Carlos Jaime C. De Leon
- 653
- 5
- 13
2
votes
3 answers
Am I a code monkey?
I just tried integrating my website with facebook. I got a lot of copy-paste code from the facebook developers site. I just put the code and it works fine. Do you call this kind of programmers "code monkeys"?
If you say I am a code monkey, in the…

rgksugan
- 599
- 4
- 19
2
votes
4 answers
is it considered plagiarism to comment out code I copied from elsewhere?
If the plagiarized code is commented out because I found another way to solve the problem, but I forgot to remove the comments, is that considered plagiarism?
I used the copied code to help me debug and compare the output between my own code and…

user234159
- 131
- 1
- 3
2
votes
5 answers
Is "watermarking" code with random trailing whitespace a good way to detect plagiarism?
Consider this:
int f(int x)
{
return 2 * x * x;
}
and this
int squareAndDouble(int y)
{
return 2*y*y;
}
If you found these in independent bodies of code, you might give the two programmers the benefit of the doubt…

paperjam
- 403
- 4
- 12
1
vote
2 answers
Is the copy/paste approach professionally viable when working with the Google Maps API?
I find that I understand much of the Javascript concepts used in the Google Maps API code, but then again there is quite a bit that is way over my head in syntax.
For example, the geocoder syntax seems to be of Ajax form, though I don't…
user75187
0
votes
2 answers
Code platform only accepts manual copy-pasting. How to debug the code locally effeciently?
I'm writing a script for a webapp, which I can only copy my code manually to its platform and not push it from my machine. In the code there are parts that use its API and parts that don't. I cannot split it into multiple modules as well. Everything…

Ooker
- 174
- 9
0
votes
2 answers
Is it fine to Copy a big chunk of code (function of 11 lines) and past it into my own project?
so I am making a website for myself. I need code about how to get distance from top to an element, and I found it from SO. I'm aware that copy pasting big chunks (a function of 11 lines) of code is not something I should be doing too much. Is it…
user385280
-4
votes
1 answer
Question about the tutorial purgatory in coding path
Dear all the programmers and overflow friend,
First, I want to say thank you to stack overflow users for helping me finish 20% of my PhD project since last year (using python to draw some technical graph). Now i am waiting for the Viva section of my…

Koh PIN WAI
- 11
-4
votes
1 answer
What is the truh concerning pasting data into a browser?
I am hearing a ton of different info. I just found this in a site
The 'paste' operation in the context menu or button press is not possible. It is not possible because of a browser security restriction that Javascript cannot take data from the…

Terrance Jackson
- 57
- 3