What are the advantages of obtaining a patent as opposed to keeping the subject invention a secret?
The principal drawback to trade secrecy is that others can often legally reverse engineer a product to discover the underlying trade secrets. Another danger is that if someone else independently invents the trade secret and obtains a patent therefor, that person may be able to prevent you from making, using, selling, importing or offering the invention for sale.