programmers like to copy "code", and still have a high salary. Is it so lawless ?CTRL + C and CTRL + V
You know the programmer most familiar, the most skilled, the most commonly used two shortcut keys is which two. Yes, it is estimated that what you are thinking now is: Ctrl + C and CTRL + V, common names: Copy and paste.
For most programmers: Copy and paste is what he knocks on the code, writing programmers to create great products of the left bladder and right arm, and copy and paste is inseparable of the good brothers.
Learning programming is the most important practice, is to write code, look at other people write code, and then write code, you read more books, do not write code, you still do not program. But write code also pay attention to the method of gradual progress, can not just learn a few days of grammar, want to write an operating system or something, set this unrealistic goal will only let your confidence be severely hit lost self.
Copy code is correct
So-called, the world code a big copy, but also in the programmer's mind is copy and paste. So it's not right to do so.
The first thing to be sure is that the code reuse in software development is very common, judging whether this code reuse is a standard for plagiarism, according to the code copyright agreement that was reused. This behavior should not be criticized, but should be affirmed. As long as he copied the code to comply with the copied code of Intellectual property or distribution agreement.
From a social point of view, the most critical thing in this world is not plagiarism, but rather duplication of work. Repetitive labor is a great waste of valuable social resources (human and financial energy, time, etc.).
At present, we are in the shared economy, but we do not realize that this is a pseudo-shared era. Shared bicycles, shared cars, and even shared charging treasures are not really shared, so-called sharing is the use of idle and surplus resources to share, in order to achieve resource utilization, maximize the value of resources. Today's shared economy is not the reuse of idle and surplus resources, but the purchase of money, every day, the monthly is causing greater waste of resources.
What is open source code
It is well known that all software is written in source code and compiled by the final generation system or application. Open source software guarantees that all people can get the code. This means that no company can fully monopolize it. Open source implies the power to choose freely, and free choice means to inspire more innovative energy.
It returns control to users and customers. You can view all the source code for the operation of the system, or make changes to it, or draw relevant knowledge from it. System flaws and vulnerabilities can be discovered and corrected more quickly. And when customers are dissatisfied with a supplier's service, they can choose a better service provider to build their information infrastructure. There is no technical barriers, there is no monopoly of the market.
The value of open source code
For students: If the project does not reference the basic impossibility of others, because many principles do not look at other people's code is difficult to understand, and the emergence of open source, the greatest advantage is to reduce the threshold of learning programming, so that the small white in the school can contact many good code earlier
For programmers: Easy to use, fast development speed, fewer bugs. Can speed up the development efficiency, completed their own work, this way is simple and fast, do not need to think about how to extract abstraction.
For the community: open source is conducive to the development of higher quality, more stable and reliable software systems. It can increase the development ability of each company in a geometric way. Everyone works together, the best software will be recognized and won. We are no longer confined to a small-scale development of a company, we work within the Internet-based world-wide community of partners and communities, and deliver new ideas and code instantly through the Internet, promoting progress and prosperity throughout software development.
As a result, the open source model helps to develop integrated software that is more high quality, more secure, and easier to use. It does make the pace of software development faster and reduces costs effectively.
However, the code of Open source, the technology of open source can be said to be true sharing, but is not part of the economy, after all, open source too much is free, so, our technology open source is the true share of the originator.
The correct use of open source libraries
We should feel and realize that some of the use of open source licenses should be properly used in open source libraries and open source code. I don't know how many developers are aware of the right way to use the open Source Library. I believe that the open source libraries on GitHub are now used in almost every programmer-developed project, but do you respect open source and copyright? In general, it should be stated in the application which open source libraries are used, such as open source licenses and other information. As long as it does not violate the original author's copyright agreement, then the reference is completely possible.
Plagiarism is also a technical work
The ability to find the section that you want to use from millions of lines of code and change it into what you need, in itself, is the ability to take the Admiral's head from millions of troops. If you are not familiar with the code, at least the structure of the chest, or how he copied. If the foundation is relatively solid, after a lot of training, he how to change it.
Summarize
Neat copy code is not a skill, you have to take someone else's code to solve their own problems that is the ability. The so-called world code a big copy, but the copy should also be the correct copy, should also be used correctly, under the rules and permission to play. Do not declare, the whole copy paste into your code base, do not respect the author, it feels like you do.