GitHub 上有大量重複的程式碼...

扣除掉 fork 的程式碼後,研究人員在 GitHub 上還是發現有大量重複的程式碼:「DéjàVu: a map of code duplicates on GitHub」。

This paper analyzes a corpus of 4.5 million non-fork projects hosted on GitHub representing over 482 million files written in Java, C++, Python, and JavaScript. We found that this corpus has a mere 85 million unique files.

Java/C++/Python/JavaScript 寫的 4.5M 個專案有 482M 個檔案,但只有 85M 個檔案是不一樣的 XD

想一想其實也是... 現在愈來愈多工具產生程式碼了 XD (i.e. Scaffold)

This entry was posted in Computer, Murmuring, Network, Programming, Service, Software and tagged , , , , , , , , , , . Bookmark the permalink.

One Response to GitHub 上有大量重複的程式碼...

  1. Kyle Tse says:

    因為Forked的Project不能被搜索,這個讓很多人很難在自己的Fork版本上繼續開發,所以一般都會再開新的項目吧?

Leave a Reply

Your email address will not be published. Required fields are marked *