OpenGenus / cosmos

World's largest Contributor driven code dataset | Used in Quark Search Engine, @OpenGenus IQ, OpenGenus Visual Project
http://internship.opengenus.org
GNU General Public License v3.0
13.58k stars 3.69k forks source link

Duplicate files and folders #1072

Open likecs opened 7 years ago

likecs commented 7 years ago

There are many files and folders which are duplicated. For example : Dijkstra's algorithm which is both a graph and greedy algorithm exists in both the folders. Similar is case with many other files like bellman ford, binomial coefficient and so on.

According to me, only one place should be given to all of them. This will also prevent addition of code (through pull requests) on the same topic since it is already present there.

AdiChat commented 7 years ago

The purpose of duplicate codes at multiple location is to keep each category self satisfying in itself.

GitHub does not have the feature to setup links between folders of the repository. Currently, we have to maintain this manually but an efficient way to manage this is in progress and will soon be incorporated in Cosmos 👍

ritwik12 commented 7 years ago

@AdiChat I agree with you, but I have a suggestion for this. Instead of duplicating the files and directories to keep each category in self-satisfying in itself. What we can do is, we can keep the files where they are most suited and for other categories, we can just give links to them using a README.md in each category.