# Tuesday, December 15, 2009
« Virtualization Faceoff | Main | .NET 4 and Visual Studio 2010 release de... »

Yesterday and today I have been following a story that a contractor for Microsoft China ripped off a lot of code from another microblogging service. ZDNet has a short synopsis of the issue. This got me thinking about the problems of intellectual property.

For years the idea of “copy and paste” reuse of JavaScript has been the fodder of programmer jokes. I am not a lawyer and I an not sure what the relevant laws are but I have mixed feelings on this issue. Like a lot of other people I like to view source in my browser occasionally to see how something has been done. I have never copied another style sheet but that is more a function of my lack of use of CSS than any strong feeling about not looking at style sheets.

I believe that wholesale copying of a sites style sheets and JavaScript goes way beyond the realm of “fair use” or learning and into plagiarism. If the code is open source and the intent is clearly to allow someone to reuse it then there is no question about the ethics. When you are looking at someone’s “proprietary closed source” code (even though it is visible) you run the risk of running afoul of the law. When I first read the story I thought about how I would feel if I had spent a lot of hours tweaking a look and feel and tuning JavaScript just to see it ripped off. I definitely believe that programmers should be paid for their efforts and I see this as becoming a bigger issue in the future as laws start to catch up to what is common practice now.