blog




  • Essay / Acceptable Code Reuse or Theft - 777

    Before we begin, we must first determine the difference between acceptable code reuse and theft. Code reuse can also fall into both categories. However, this can be perfectly legal, but it can also be considered theft. Reusing your own code creations is great, but using third-party code may not be so. There is a difference between code reuse and intellectual property theft. What is code reuse? Literal definition: Code reuse is the practice of reusing existing code. Code reuse as defined here has certain advantages and disadvantages. If you take the literal meaning of the terms, you will simply find yourself using your code or pieces of code in various other areas of your program or even in completely different programs. One of the benefits of code reuse is speed. You can very quickly reproduce certain aspects of a program by copying and pasting your pre-existing code, or found on the internet. There is no need to spend a lot of time simply duplicating the code in another applicable area of ​​an application or in a completely new program application. Another benefit of code reuse is in the debugging phase of programming development. Likewise, if the code segment works in one area of ​​the program, it will certainly work in another. Finally, the biggest advantage of reusing code is that you don't need to reinvent the wheel. Above all, when you find a segment of code that works and meets your needs, use it. However, there are some drawbacks to code reuse. One of these disadvantages is that you may not own the code segment and must also give credit or even pay royalties to a third party for its use. According to (number one), another major drawback is program maintenance; that if you need to make a change, you will have to make the same changes to all copied sections of code and that this creates a program maintenance nightmare. I have found that from a learning perspective as a student, it is not very beneficial to reuse code. All things considered, in my opinion, I have become familiar and experienced with programming code if I invent a new program creation every time I write a program. In my personal research and limited but growing coding experience, I have found few downsides to code reuse..