Why is open source code life only 1 years?
Guide |
To be honest, if the ancient Greek Sisyphus was a developer who wrote open source code for 2016 years, he would feel at home. Famous Sisyphus Punishment, is the myth handed down, he was forced to push a huge stone up the hill, when the summit, can only watch it roll down, the cycle until forever. Quietly, the world's developers have been receiving similar punishments for the past few years. And the boulders are still getting bigger. |
The Library of Congress has about 24 million different types of books. It is the greatest treasure trove of human knowledge that human beings have ever created.
GitHub was founded in 2009. It now has over 35 million repositories or repositories with a few 10 trillion lines of code. Research shows that this amount is growing exponentially and will double every 14 months or so. Open source is no doubt the forefront of today's programming technology, is the greatest human knowledge, the most powerful, the most advanced Treasury.
So why is the 90%-98% open source code discarded after 12 months?
See the code for details .
Let's take a look at a staggering set of numbers: Today's code, 90%, will never be used again.
They become ineffective and obsolete, forgotten in the quicksand of time. In a 2015 survey, Stack overflow found that each developer spends an average of about 7 hours of programming a week outside of work. The GitHub report says more than 12 million users are working on open source projects. Millions of smart people took millions of hours of work to be ignored by people.
The craziest part is that no one seems to ask "why?" ”。 Why is the vast majority of open source code buried and forgotten? Why do we write the same code over and over again every day, and at the same time the code is almost certainly somewhere in the open source platform, waiting to be used by us?
The main reason this happens is because people just use the repository as a repository. Developers all know Angularjs, or jquery or react, but few people know more than 10 open source packages. That's the crazy part, because people don't know or use the entire open source package, so no one is using the code. A software package written in 2015 may not be useful for a person as a whole, but perhaps it just happens to contain the required functionality. The most useful part is not always the entire package, sometimes a piece of code.
For example, someone is looking for a JavaScript feature to shuffle elements in an array, or different functions to create random strings. These small snippets have the same hundreds of on the open source platform. But no one knows their existence, even if they know, and no one knows how to find them. Therefore, these valuable knowledge is discarded or forgotten only because they are difficult to obtain. It's so ridiculous, it's not good for everyone.
organize all your code and make it easy to find
So, how do we solve this mess? It's easy to answer the question, it's hard to do, and you need to do three things:
- Collate all open source code from functional aspects and classify them in detail
- Create a model to represent the actual functionality of these different codes
- Create an easy way to search for and find these snippets.
That's why we built the cocycles. Cocycles satisfies all the above conditions and continues to improve. Its algorithms can handle large amounts of open source code, reading and understanding the functionality of each different code. Then, it allows people to search for code in simple English.
For example, users only need to enter "shuffle array" or "Create random string", and then they will be rendered in various open source code execution, documentation, usage examples, and more. It even provides useful fragments that are generated that contain all the dependencies and sub-functions.
Over the next few years, AI Software may be able to use it to find and learn new code, to constantly refine and change the code.
Free to provide the latest Linux technology tutorials Books, for open-source technology enthusiasts to do more and better: http://www.linuxprobe.com/
Why is open source code life only 1 years?