A possible solution to code Plagiarism
Just like the videos we upload in YouTube get processed, the codes we upload can be processed. I think that processing can be done as follows. 1) An internal search for codes will be done with the search query being the name of the code we want to post. Search results can be sorted based on popularity i.e. number of upvotes etc,. 2) Then, the code we want to upload is checked with top 5/10/... codes in the search results for matches. The matching can be done based on different factors like (i) checking if the contents are exactly same (ii) giving similar inputs and checking if the outputs are similar. 3) If processing is successful, code will be posted. Otherwise, code will be posted but made private only. With 2(i), exact copies of codes can be eliminated. 2(ii) must be carefully dealt with. There is no need to worry that processing takes time. I think it won't take more than 30 seconds if there is a good internet connection. We should try our best to eliminate code plagiarism. It already cost us one of the best Sololearners - @Agus Mei. We shouldn't let that happen again. Post your opinion on this.