{"id":3553,"date":"2022-03-30T10:16:09","date_gmt":"2022-03-30T09:16:09","guid":{"rendered":"https:\/\/technocript.com\/?p=3553"},"modified":"2022-12-07T21:10:46","modified_gmt":"2022-12-07T21:10:46","slug":"do-developers-copy-code","status":"publish","type":"post","link":"https:\/\/technocript.com\/do-developers-copy-code\/","title":{"rendered":"Do Developers Copy Code? (Numbers from StackOverflow)"},"content":{"rendered":"\n<p>Developing software programs usually involves dealing with many common and repetitive problems. These frequently encountered issues can be often found solved elsewhere by someone else. Copying and re-using others&#8217; solutions could easily save hours and maybe days implementing the same solution over and over again.<\/p>\n\n\n\n<p class=\"tc-snippet\">The majority of developers do copy code most of the time. They copy their own code or other developers&#8217; code that can be accessed online. StackOverflow itself has captured more than 40 MILLION copy commands on its pages in only two weeks!<\/p>\n\n\n\n<!-- Ezoic - tc_content_under_first_paragraph - under_first_paragraph -->\n<div id=\"ezoic-pub-ad-placeholder-159\"> <\/div>\n<!-- End Ezoic - tc_content_under_first_paragraph - under_first_paragraph -->\n\n\n\n<p>Nevertheless, copying others&#8217; code snippets might be tricky and prone the entire software to unexpected faults. It could also put the developers in trouble facing legal issues due to breaking the license of the re-used code.<\/p>\n\n\n\n<p>In this article, we discuss why developers copy\/paste others&#8217; code, when, and how often. We also check to what extent it is legal to copy code from common platforms such as StackOverflow and GitHub. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Do-Developers-Copy-and-Paste-Code\">1. Do Developers Copy and Paste Code?<\/h2>\n\n\n\n<p>Regardless of their purposes and complexity, all computer programs consist of many small and self-contained code snippets. Each of these aims at solving a specific programmatic problem while providing a part of the final solution.<\/p>\n\n\n\n<p>In most cases, there will be a very high chance these smaller problems have already been encountered before. They perhaps have been also solved by other programmers in many different contexts. <\/p>\n\n\n\n<p>That said, many programmers can benefit from the code that others write to help them solve similar issues. In this context, <em>do developers actually copy code when developing their projects?<\/em><\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>Certainly, the majority of developers do copy code most of the time. This might be their own code that they previously produced, code from public repositories, open-source code, or most often code from StackOverflow&#8217;s answers and comments!<\/p>\n<\/blockquote>\n\n\n\n<!-- Ezoic - tc_content_1 - mid_content -->\n<div id=\"ezoic-pub-ad-placeholder-161\"> <\/div>\n<!-- End Ezoic - tc_content_1 - mid_content -->\n\n\n\n<p>The key reason behind this is that most likely a solution for the same problem already exists, and sometimes two or three. Thus, it is just a waste of time reinventing the wheel by re-writing the same solution for the same issue that has been solved by someone else.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"262\" src=\"https:\/\/technocript.com\/wp-content\/uploads\/2022\/02\/WagonWheels-1024x262.jpg\" alt=\"Wagon Wheels\" class=\"wp-image-3451\" srcset=\"https:\/\/technocript.com\/wp-content\/uploads\/2022\/02\/WagonWheels-1024x262.jpg 1024w, https:\/\/technocript.com\/wp-content\/uploads\/2022\/02\/WagonWheels-300x77.jpg 300w, https:\/\/technocript.com\/wp-content\/uploads\/2022\/02\/WagonWheels-768x196.jpg 768w, https:\/\/technocript.com\/wp-content\/uploads\/2022\/02\/WagonWheels.jpg 1243w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p>Accordingly, copying and pasting code like repetitive functions and code snippets are quite common tasks in the developer&#8217;s life.<\/p>\n\n\n\n<p>On top of that, a useful skill of good developers would be to search for and quickly find answers to programmatic questions. And eventually, to decide which solution is the best or most applicable in their case.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Is-It-Okay-to-Copy-Code\">2. Is It Okay to Copy Code?<\/h2>\n\n\n\n<p>Copying code snippets for common tasks usually save too much effort in recreating the solution from scratch. Nevertheless, blindly copying and pasting code without understanding the underlying solution is totally a bad practice.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>In most cases, it&#8217;s totally okay for developers to copy code in their projects, providing they understand what they are copying, and the code license permits re-using it in the way intended.<\/p>\n\n\n\n<p><\/p>\n<\/blockquote>\n\n\n\n<p><em>Do NOT Copy the Code, Copy The Solution! <\/em><\/p>\n\n\n\n<!-- Ezoic - tc_content_2 - long_content -->\n<div id=\"ezoic-pub-ad-placeholder-162\"> <\/div>\n<!-- End Ezoic - tc_content_2 - long_content -->\n\n\n\n<p>Depending on the nature of the function or script, developers should be aware of the solution they are going to reuse. This must include: understanding the problem it solves, how this code deals with it, what the advantages and disadvantages of this solution are, and which exceptions this solution might raise.<\/p>\n\n\n\n<div class=\"wp-block-media-text has-media-on-the-right is-stacked-on-mobile has-background\" style=\"background-color:#f0f7ff;grid-template-columns:auto 21%\"><div class=\"wp-block-media-text__content\">\n<p class=\"has-medium-font-size\"><em><strong>Developers do not STEAL code, they just REUSE it!<\/strong><\/em><\/p>\n<\/div><figure class=\"wp-block-media-text__media\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"262\" src=\"https:\/\/technocript.com\/wp-content\/uploads\/2020\/04\/LogoHappy-300x262.png\" alt=\"Technocript.com Logo Happy\" class=\"wp-image-303 size-medium\" srcset=\"https:\/\/technocript.com\/wp-content\/uploads\/2020\/04\/LogoHappy-300x262.png 300w, https:\/\/technocript.com\/wp-content\/uploads\/2020\/04\/LogoHappy.png 573w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/figure><\/div>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>As a result, and based on all mentioned points, developers should determine if it&#8217;s okay to inherit the solution and re-use it in their program. This couldn&#8217;t happen without reading along the whole code, understanding every single instruction, and knowing how it can be modified and properly used in various contexts.<\/p>\n\n\n\n<p>With that in mind, it will be highly important to check the code documentation (if exists) as well as all its comments and discussions. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"How-Often-Do-Developers-Copy-Code\">3. How Often Do Developers Copy Code?<\/h2>\n\n\n\n<p>Although cloning others&#8217; code is a fairly common practice in software development, the majority of the developed software is usually written from scratch. Typically, copy\/paste tasks cover only common and repeatedly encountered problems.<\/p>\n\n\n\n<p>That said, <em>how often do developers copy and paste code?<\/em><\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>There is no practical way to measure how often developers copy code or the proportion of the copied code in comparison to the originally created one. However, StackOverflow has captured more than 40 Million copy commands from their questions in only two weeks.<\/p>\n<\/blockquote>\n\n\n\n<!-- Ezoic - tc_content_3 - longer_content -->\n<div id=\"ezoic-pub-ad-placeholder-163\"> <\/div>\n<!-- End Ezoic - tc_content_3 - longer_content -->\n\n\n\n<p>Accordingly, let us resort to some stats from the preferred source to copy code for most programmers, <a href=\"https:\/\/stackoverflow.com\">StackOverflow<\/a>.<\/p>\n\n\n\n<p>Based on an article on <a href=\"https:\/\/stackoverflow.blog\/2021\/12\/30\/how-often-do-people-actually-copy-and-paste-from-stack-overflow-now-we-know\/\">their official blog<\/a>, StackOverflow installed a system that captures every time the visitor copied something from their website. The collected data covers two weeks from March 26, 2021, to April 9, 2021.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/stackoverflow.blog\/2021\/12\/30\/how-often-do-people-actually-copy-and-paste-from-stack-overflow-now-we-know\/\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"227\" src=\"https:\/\/technocript.com\/wp-content\/uploads\/2022\/03\/StackOverflow_CopyPaste.jpg\" alt=\"StackOverflow Copy Paste\" class=\"wp-image-3772\" srcset=\"https:\/\/technocript.com\/wp-content\/uploads\/2022\/03\/StackOverflow_CopyPaste.jpg 800w, https:\/\/technocript.com\/wp-content\/uploads\/2022\/03\/StackOverflow_CopyPaste-300x85.jpg 300w, https:\/\/technocript.com\/wp-content\/uploads\/2022\/03\/StackOverflow_CopyPaste-768x218.jpg 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/a><\/figure>\n<\/div>\n\n\n<p>Here are some of the pretty interesting facts this experiment has revealed:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Everyone is copying from StackOverflow!<\/strong><\/li>\n\n\n\n<li>Visitors have performed <strong>40.6M<\/strong> copy commands across <strong>7.3M<\/strong> posts and comments within <strong>two weeks<\/strong>.<\/li>\n\n\n\n<li><strong>One out of every four users<\/strong> who visited a question copied something within five minutes of hitting the page.<\/li>\n\n\n\n<li><strong>52.4%<\/strong> of copies come from answers that are not accepted<strong>.<\/strong><\/li>\n\n\n\n<li>Most copies occurred during the working days\/hours.<\/li>\n\n\n\n<li>Copies come from Asia 33%, Europe 30%, and North America 26%.<\/li>\n\n\n\n<li><strong>86%<\/strong> of all copies came from unknown users (anonymous users, not logged-in users, &#8230;).<\/li>\n<\/ul>\n\n\n\n<p>Despite these statistics coming from only one source, they are quite sufficient to make sure that many developers\/programmers copy code regularly.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Is-Copying-Code-Illegal\">4. Is Copying Code Illegal? <\/h2>\n\n\n\n<p>Although copying others&#8217; solutions might be a collaborative practice, having access to the code doesn&#8217;t necessarily mean copying it is a fully legal thing.<\/p>\n\n\n\n<!-- Ezoic - tc_content_4 - longest_content -->\n<div id=\"ezoic-pub-ad-placeholder-164\"> <\/div>\n<!-- End Ezoic - tc_content_4 - longest_content -->\n\n\n\n<p>With that in mind, <em>is it legal\/illegal to copy code?<\/em><\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>Copying code is illegal if the license behind this code prevents re-using it in some way. Which is usually subject to specific contexts and under certain conditions.<\/p>\n<\/blockquote>\n\n\n\n<p>The right to copy any code snippet totally depends on the <a href=\"https:\/\/technocript.com\/copyright\/\">license<\/a> under which this code is published. This license essentially indicates if and when it&#8217;s legal to copy, modify, inherit or re-use the code in whole or in part and in which conditions.<\/p>\n\n\n\n<p>Therefore, copying code arbitrarily and without paying attention to its license might expose you to legal issues due to violating the usage agreement or breaching the code license.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Is-It-Legal-to-Copy-Code-From-StackOverflow\">5. Is It Legal to Copy Code From StackOverflow?<\/h2>\n\n\n\n<p><a href=\"https:\/\/stackoverflow.com\">StackOverflow<\/a> is undoubtedly the most favorable source for developers to find solutions to their problems. StackOverflow provide a unified license for all user contributions taking place on their pages.<\/p>\n\n\n\n<p>According to <a href=\"https:\/\/stackoverflow.com\/help\/licensing\">their help notice<\/a>, all publicly accessible user contributions on StackOverflow, including questions and answers, are licensed under the Creative Commons Attribution-ShareAlike (<a href=\"http:\/\/creativecommons.org\/licenses\/by-sa\/4.0\/\">CC BY-SA<\/a>)&nbsp;license.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>It is legal to copy and re-use code from StackOverflow as long as you <a href=\"https:\/\/stackoverflow.blog\/2009\/06\/25\/attribution-required\/\">attribute the source<\/a> and use a similar license.<\/p>\n<\/blockquote>\n\n\n\n<p>With that being the case, to comply with StackOverflow license terms, you need to:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Include a link to the original answer\/question in a comment in your source code (<em><code>CC BY<\/code> condition<\/em>).<\/li>\n\n\n\n<li>Maintain the same conditions\/license in the copied code (<em><code>CC SA<\/code> condition<\/em>).<\/li>\n<\/ol>\n\n\n\n<!-- Ezoic - tc_content_5 - incontent_5 -->\n<div id=\"ezoic-pub-ad-placeholder-165\"> <\/div>\n<!-- End Ezoic - tc_content_5 - incontent_5 -->\n\n\n\n<p>Alternatively, you can just read the solution, understand it, and reproduce it in your enhanced version.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"235\" src=\"https:\/\/technocript.com\/wp-content\/uploads\/2022\/03\/StackOverflow_FooterLicense-1024x235.jpg\" alt=\"StackOverflow Footer License\" class=\"wp-image-3580\" srcset=\"https:\/\/technocript.com\/wp-content\/uploads\/2022\/03\/StackOverflow_FooterLicense-1024x235.jpg 1024w, https:\/\/technocript.com\/wp-content\/uploads\/2022\/03\/StackOverflow_FooterLicense-300x69.jpg 300w, https:\/\/technocript.com\/wp-content\/uploads\/2022\/03\/StackOverflow_FooterLicense-768x176.jpg 768w, https:\/\/technocript.com\/wp-content\/uploads\/2022\/03\/StackOverflow_FooterLicense.jpg 1252w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">The license of user contributions on StackOverflow<\/figcaption><\/figure>\n<\/div>\n\n\n<p>Nonetheless, you can still copy and modify solutions freely from StackOverflow in specific cases. Namely, if you are just copying small code snippets that don&#8217;t represent a real contribution and many other programmers can come up with them. For example, copying the <a href=\"https:\/\/stackoverflow.com\/questions\/16476924\/how-to-iterate-over-rows-in-a-dataframe-in-pandas\">code<\/a> that iterates over a Dataframe in Pandas!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Is-It-Legal-to-Copy-Code-From-GitHub\">6. Is It Legal to Copy Code From GitHub?<\/h2>\n\n\n\n<p><a href=\"https:\/\/github.com\">GitHub<\/a> is a code hosting platform to control code versioning and collaborations between multiple developers.<\/p>\n\n\n\n<p>Contrary to StackOverflow, GitHub doesn&#8217;t impose a specific license for all user contributions. Instead, each contributor can specify the license of the shared code. <\/p>\n\n\n\n<!-- Ezoic - tc_content_6 - incontent_6 -->\n<div id=\"ezoic-pub-ad-placeholder-166\"> <\/div>\n<!-- End Ezoic - tc_content_6 - incontent_6 -->\n\n\n\n<p>Although most code on GitHub is <a href=\"https:\/\/en.wikipedia.org\/wiki\/Open_source\">open-source<\/a>, some repositories assign other licenses that dictate certain conditions for copying and reusing the code.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>It is legal to copy code from GitHub if the licensing terms of the repository explicitly permit reusing it. If the code is open-source, then you can copy the code, modify it as you want, and reproduce it for your own purposes.<\/p>\n<\/blockquote>\n\n\n\n<p>To check the license of a specific project on GitHub, there should be a file called <code>LICENSE<\/code>, <code>LICENSE.md<\/code>, or <code>LICENSE.txt<\/code> next to the other project files. When clicking on this file, it displays the license content and its permissions.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"212\" src=\"https:\/\/technocript.com\/wp-content\/uploads\/2022\/03\/GitHub_MITLicense-1024x212.jpg\" alt=\"GitHub MIT License\" class=\"wp-image-3581\" srcset=\"https:\/\/technocript.com\/wp-content\/uploads\/2022\/03\/GitHub_MITLicense-1024x212.jpg 1024w, https:\/\/technocript.com\/wp-content\/uploads\/2022\/03\/GitHub_MITLicense-300x62.jpg 300w, https:\/\/technocript.com\/wp-content\/uploads\/2022\/03\/GitHub_MITLicense-768x159.jpg 768w, https:\/\/technocript.com\/wp-content\/uploads\/2022\/03\/GitHub_MITLicense.jpg 1231w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Example of license terms on GitHub<\/figcaption><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"Conclusion\">7. Conclusion<\/h2>\n\n\n\n<p>Copying others&#8217; code is a pretty common task in the life of most developers regardless of their level of experience. This could save a lot of time and effort in reproducing the same solution over and over again. However, this should be only done with respect to the licensing conditions and the context of the copied code.<\/p>\n\n\n\n<!-- Ezoic - tc_content_7 - incontent_7 -->\n<div id=\"ezoic-pub-ad-placeholder-167\"> <\/div>\n<!-- End Ezoic - tc_content_7 - incontent_7 -->\n\n\n\n<p>In this article, we explored if developers actually copy code and why, how often they copy code, and when it&#8217;s legal to do so from different sources.<\/p>\n\n\n\n<p>To sum up:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The majority of developers do copy code.<\/li>\n\n\n\n<li>Everyone is copying from Stack Overflow.<\/li>\n\n\n\n<li>Copying code is legal if the code license permits re-using it.<\/li>\n\n\n\n<li>It is legal to copy code from StackOverflow as long as you attribute and use a similar license.<\/li>\n\n\n\n<li>It is legal to copy code from GitHub if its license permits you to do so.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Developing software programs usually involves dealing with many common and repetitive problems. These frequently encountered issues can be often found solved elsewhere by someone else. Copying and re-using others&#8217; solutions could easily save hours and maybe days implementing the same solution over and over again.<br \/>\nWe discuss why developers copy\/paste code, when, and how often. We also check to what extent it is legal to copy code from common platforms.  <a href=\"https:\/\/technocript.com\/do-developers-copy-code\/\">Read more &#8230;<\/a><\/p>\n","protected":false},"author":3,"featured_media":5380,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[316],"tags":[298,344,343,346,345],"class_list":["post-3553","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software-development-databases","tag-code","tag-copy-and-paste","tag-copy-code","tag-github","tag-stackoverflow"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Do Developers Copy Code? (Numbers from StackOverflow) - Technocript.com<\/title>\n<meta name=\"description\" content=\"We discuss why developers copy\/paste code, when, and how often. We also check to what extent it is legal to copy code from common platforms.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/technocript.com\/do-developers-copy-code\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Do Developers Copy Code? (Numbers from StackOverflow) - Technocript.com\" \/>\n<meta property=\"og:description\" content=\"We discuss why developers copy\/paste code, when, and how often. We also check to what extent it is legal to copy code from common platforms.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/technocript.com\/do-developers-copy-code\/\" \/>\n<meta property=\"og:site_name\" content=\"Technocript.com\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/technocript\" \/>\n<meta property=\"article:published_time\" content=\"2022-03-30T09:16:09+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-12-07T21:10:46+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/technocript.com\/wp-content\/uploads\/2022\/03\/FI_DoDevelopersCopyPasteCode.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"950\" \/>\n\t<meta property=\"og:image:height\" content=\"528\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Technocript Editor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@technocript_tc\" \/>\n<meta name=\"twitter:site\" content=\"@technocript_tc\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Technocript Editor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/technocript.com\/do-developers-copy-code\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/technocript.com\/do-developers-copy-code\/\"},\"author\":{\"name\":\"Technocript Editor\",\"@id\":\"https:\/\/technocript.com\/#\/schema\/person\/37c2d5686f05277f39e6f8b5743f2744\"},\"headline\":\"Do Developers Copy Code? (Numbers from StackOverflow)\",\"datePublished\":\"2022-03-30T09:16:09+00:00\",\"dateModified\":\"2022-12-07T21:10:46+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/technocript.com\/do-developers-copy-code\/\"},\"wordCount\":1520,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/technocript.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/technocript.com\/do-developers-copy-code\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/technocript.com\/wp-content\/uploads\/2022\/03\/FI_DoDevelopersCopyPasteCode.jpg\",\"keywords\":[\"Code\",\"Copy and Paste\",\"Copy Code\",\"Github\",\"Stackoverflow\"],\"articleSection\":[\"Software Development &amp; Databases\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/technocript.com\/do-developers-copy-code\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/technocript.com\/do-developers-copy-code\/\",\"url\":\"https:\/\/technocript.com\/do-developers-copy-code\/\",\"name\":\"Do Developers Copy Code? (Numbers from StackOverflow) - Technocript.com\",\"isPartOf\":{\"@id\":\"https:\/\/technocript.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/technocript.com\/do-developers-copy-code\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/technocript.com\/do-developers-copy-code\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/technocript.com\/wp-content\/uploads\/2022\/03\/FI_DoDevelopersCopyPasteCode.jpg\",\"datePublished\":\"2022-03-30T09:16:09+00:00\",\"dateModified\":\"2022-12-07T21:10:46+00:00\",\"description\":\"We discuss why developers copy\/paste code, when, and how often. We also check to what extent it is legal to copy code from common platforms.\",\"breadcrumb\":{\"@id\":\"https:\/\/technocript.com\/do-developers-copy-code\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/technocript.com\/do-developers-copy-code\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/technocript.com\/do-developers-copy-code\/#primaryimage\",\"url\":\"https:\/\/technocript.com\/wp-content\/uploads\/2022\/03\/FI_DoDevelopersCopyPasteCode.jpg\",\"contentUrl\":\"https:\/\/technocript.com\/wp-content\/uploads\/2022\/03\/FI_DoDevelopersCopyPasteCode.jpg\",\"width\":950,\"height\":528,\"caption\":\"FI Do Developers Copy Paste Code\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/technocript.com\/do-developers-copy-code\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/technocript.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Do Developers Copy Code? (Numbers from StackOverflow)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/technocript.com\/#website\",\"url\":\"https:\/\/technocript.com\/\",\"name\":\"Technocript.com\",\"description\":\"All about technology and beyond ...\",\"publisher\":{\"@id\":\"https:\/\/technocript.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/technocript.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/technocript.com\/#organization\",\"name\":\"Technocript.com\",\"url\":\"https:\/\/technocript.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/technocript.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/technocript.com\/wp-content\/uploads\/2020\/04\/Logo.png\",\"contentUrl\":\"https:\/\/technocript.com\/wp-content\/uploads\/2020\/04\/Logo.png\",\"width\":2056,\"height\":690,\"caption\":\"Technocript.com\"},\"image\":{\"@id\":\"https:\/\/technocript.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/technocript\",\"https:\/\/x.com\/technocript_tc\",\"https:\/\/www.instagram.com\/technocript\",\"https:\/\/www.pinterest.com\/technocript\",\"https:\/\/www.youtube.com\/channel\/UCrPgACXWjiRNr9ppreNQlBw\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/technocript.com\/#\/schema\/person\/37c2d5686f05277f39e6f8b5743f2744\",\"name\":\"Technocript Editor\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/ec90890008db7bee481b63d6da515c2644b7ee1dbc9427d5066c43f439618c23?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ec90890008db7bee481b63d6da515c2644b7ee1dbc9427d5066c43f439618c23?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/ec90890008db7bee481b63d6da515c2644b7ee1dbc9427d5066c43f439618c23?s=96&d=mm&r=g\",\"caption\":\"Technocript Editor\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Do Developers Copy Code? (Numbers from StackOverflow) - Technocript.com","description":"We discuss why developers copy\/paste code, when, and how often. We also check to what extent it is legal to copy code from common platforms.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/technocript.com\/do-developers-copy-code\/","og_locale":"en_US","og_type":"article","og_title":"Do Developers Copy Code? (Numbers from StackOverflow) - Technocript.com","og_description":"We discuss why developers copy\/paste code, when, and how often. We also check to what extent it is legal to copy code from common platforms.","og_url":"https:\/\/technocript.com\/do-developers-copy-code\/","og_site_name":"Technocript.com","article_publisher":"https:\/\/www.facebook.com\/technocript","article_published_time":"2022-03-30T09:16:09+00:00","article_modified_time":"2022-12-07T21:10:46+00:00","og_image":[{"width":950,"height":528,"url":"https:\/\/technocript.com\/wp-content\/uploads\/2022\/03\/FI_DoDevelopersCopyPasteCode.jpg","type":"image\/jpeg"}],"author":"Technocript Editor","twitter_card":"summary_large_image","twitter_creator":"@technocript_tc","twitter_site":"@technocript_tc","twitter_misc":{"Written by":"Technocript Editor","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/technocript.com\/do-developers-copy-code\/#article","isPartOf":{"@id":"https:\/\/technocript.com\/do-developers-copy-code\/"},"author":{"name":"Technocript Editor","@id":"https:\/\/technocript.com\/#\/schema\/person\/37c2d5686f05277f39e6f8b5743f2744"},"headline":"Do Developers Copy Code? (Numbers from StackOverflow)","datePublished":"2022-03-30T09:16:09+00:00","dateModified":"2022-12-07T21:10:46+00:00","mainEntityOfPage":{"@id":"https:\/\/technocript.com\/do-developers-copy-code\/"},"wordCount":1520,"commentCount":0,"publisher":{"@id":"https:\/\/technocript.com\/#organization"},"image":{"@id":"https:\/\/technocript.com\/do-developers-copy-code\/#primaryimage"},"thumbnailUrl":"https:\/\/technocript.com\/wp-content\/uploads\/2022\/03\/FI_DoDevelopersCopyPasteCode.jpg","keywords":["Code","Copy and Paste","Copy Code","Github","Stackoverflow"],"articleSection":["Software Development &amp; Databases"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/technocript.com\/do-developers-copy-code\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/technocript.com\/do-developers-copy-code\/","url":"https:\/\/technocript.com\/do-developers-copy-code\/","name":"Do Developers Copy Code? (Numbers from StackOverflow) - Technocript.com","isPartOf":{"@id":"https:\/\/technocript.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/technocript.com\/do-developers-copy-code\/#primaryimage"},"image":{"@id":"https:\/\/technocript.com\/do-developers-copy-code\/#primaryimage"},"thumbnailUrl":"https:\/\/technocript.com\/wp-content\/uploads\/2022\/03\/FI_DoDevelopersCopyPasteCode.jpg","datePublished":"2022-03-30T09:16:09+00:00","dateModified":"2022-12-07T21:10:46+00:00","description":"We discuss why developers copy\/paste code, when, and how often. We also check to what extent it is legal to copy code from common platforms.","breadcrumb":{"@id":"https:\/\/technocript.com\/do-developers-copy-code\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/technocript.com\/do-developers-copy-code\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/technocript.com\/do-developers-copy-code\/#primaryimage","url":"https:\/\/technocript.com\/wp-content\/uploads\/2022\/03\/FI_DoDevelopersCopyPasteCode.jpg","contentUrl":"https:\/\/technocript.com\/wp-content\/uploads\/2022\/03\/FI_DoDevelopersCopyPasteCode.jpg","width":950,"height":528,"caption":"FI Do Developers Copy Paste Code"},{"@type":"BreadcrumbList","@id":"https:\/\/technocript.com\/do-developers-copy-code\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/technocript.com\/"},{"@type":"ListItem","position":2,"name":"Do Developers Copy Code? (Numbers from StackOverflow)"}]},{"@type":"WebSite","@id":"https:\/\/technocript.com\/#website","url":"https:\/\/technocript.com\/","name":"Technocript.com","description":"All about technology and beyond ...","publisher":{"@id":"https:\/\/technocript.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/technocript.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/technocript.com\/#organization","name":"Technocript.com","url":"https:\/\/technocript.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/technocript.com\/#\/schema\/logo\/image\/","url":"https:\/\/technocript.com\/wp-content\/uploads\/2020\/04\/Logo.png","contentUrl":"https:\/\/technocript.com\/wp-content\/uploads\/2020\/04\/Logo.png","width":2056,"height":690,"caption":"Technocript.com"},"image":{"@id":"https:\/\/technocript.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/technocript","https:\/\/x.com\/technocript_tc","https:\/\/www.instagram.com\/technocript","https:\/\/www.pinterest.com\/technocript","https:\/\/www.youtube.com\/channel\/UCrPgACXWjiRNr9ppreNQlBw"]},{"@type":"Person","@id":"https:\/\/technocript.com\/#\/schema\/person\/37c2d5686f05277f39e6f8b5743f2744","name":"Technocript Editor","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/ec90890008db7bee481b63d6da515c2644b7ee1dbc9427d5066c43f439618c23?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ec90890008db7bee481b63d6da515c2644b7ee1dbc9427d5066c43f439618c23?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ec90890008db7bee481b63d6da515c2644b7ee1dbc9427d5066c43f439618c23?s=96&d=mm&r=g","caption":"Technocript Editor"}}]}},"jetpack_featured_media_url":"https:\/\/technocript.com\/wp-content\/uploads\/2022\/03\/FI_DoDevelopersCopyPasteCode.jpg","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/technocript.com\/wp-json\/wp\/v2\/posts\/3553","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/technocript.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/technocript.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/technocript.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/technocript.com\/wp-json\/wp\/v2\/comments?post=3553"}],"version-history":[{"count":5,"href":"https:\/\/technocript.com\/wp-json\/wp\/v2\/posts\/3553\/revisions"}],"predecessor-version":[{"id":5651,"href":"https:\/\/technocript.com\/wp-json\/wp\/v2\/posts\/3553\/revisions\/5651"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/technocript.com\/wp-json\/wp\/v2\/media\/5380"}],"wp:attachment":[{"href":"https:\/\/technocript.com\/wp-json\/wp\/v2\/media?parent=3553"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/technocript.com\/wp-json\/wp\/v2\/categories?post=3553"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/technocript.com\/wp-json\/wp\/v2\/tags?post=3553"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}