views:

86

answers:

1

Let's suppose I want to "protect" this code about being used without attribution, patenting it, or through any open source licence...

#include<stdio.h>
int main (void)
{     
  int version=2;

  printf("\r\n.Hello world, ver:(%d).", version); 

  return 0;
}

It's a little obvious or just a language definition example..

When a source stop being "trivial, banal, commonplace, obvious", and start to be something that you may claim "rights"?

Perhaps it depends on who read it, something that could be great geniality for someone that have never programmed, could be just obvious for an expert.

It's easy when watching two sources there are 10000 same lines of code, that's a theft.. but that's not always so obvious. How to measure amount of "ownness", it's about creativity? line numbers? complexity?

I can't imagine objetive answers for that, only some patches. For example perhaps the complexity, It's not fair to replace "years of engeneering" with "copy and paste". But is there any objetive index for objetive determination of this subject?

(In a funny way I imagine this criterion: If the licence is longer than the code, then there is no owner, just to punish not caring storage space and world resources =P)

A: 

It doesn't matter how trivial your example is, if you wrote it, you have implicit copyright over it. However, it could be challenged by any pre-existing example, in court legitimately. It's always wise to contact your Intellectual Property office, and acquire the appropriate rights if you think something is unique, that you want to establish your right to a particular piece of software you wrote (even if you give it away) at a point in time.

For example, I register every one of my copyrights with CIPO (Canadian Intellectual Property Office) for precisely this reason. I want to be able to defend myself in a case where a copyright infringement claim may be made (bear in mind, this isn't a guarantee of defence, it is merely a way to establish timelines for a given project).

Obviously every case is different, and I strongly suggest that if you're serious about your code, no matter how trivial, you talk to an intellectual property lawyer. I mean, if it means that much to you; but if it doesn't, then don't bother.

jer