 Software is protected as works of literature under the Berne Convention.This allows the creator to prevent another entity from copying the program and there is generally no need to register code in order for it to be copyrighted.Patents, on the other hand, give their owners the right to prevent others from using the technology defined by the patent claims, even if the technology was independently developed and there was no copying of a software or software code involved.