Tuesday, December 26, 2023

Code Washing

 This time, I want to address the concerning issue of students inappropriately reusing open-source code without a clear understanding of open-source licenses.



It's crucial for students to grasp the essence of open source licenses, understanding that they are not just permissions to copy but guidelines for responsible use. Engaging with open-source code should involve a genuine learning process, encouraging students to comprehend and apply the principles embedded in the code they explore.
Merely having access to code doesn't grant the right to take it, make superficial changes, or translating from a programming language to another, remove original authors, and claim the altered code as their own. While open source encourages learning through code exposure, wholesale copying with only minor alterations, especially without restructuring for object-oriented code, doesn't constitute "creating a new code base."
In such instances, phrases like 'I looked at Mickey Mouse code, but I am using my own code' are, at the very least, misleading and likely a form of plagiarism. I term this practice "code washing." My plea: steer clear of it and adhere to ethical behavior.
The notion of "code washing" not only undermines the integrity of individual work but also compromises the collaborative spirit of open source. It's essential to emphasize that acknowledging and respecting the original authors not only aligns with ethical standards but also fosters a culture of transparency and collaboration in the coding community.

1 comment:

  1. Agreed that open source licenses should be respected. If you don't understand it, or have a question, email the author.

    Nowadays, nearly everyone is now consulting ChatGPT and other AIs to solve all kinds of programming tasks. I know I do -- it's a huge time saver. The reality is that the code it gives you is based on plenty of open-source programs that these companies scraped from the web. And it does not cite any of them. Sometimes code is copied verbatim from existing libraries. Artists have been upset about this for a while, and now big media companies are reacting. The NY Times just sued OpenAI and Microsoft for unuathorized use of its published work. https://www.nytimes.com/2023/12/27/business/media/new-york-times-open-ai-microsoft-lawsuit.html

    ReplyDelete