&quot;Patenting it so someone else can&#x27;t&quot; is just something people say. Publishing the details of the technique would be enough to establish prior art--no need to file a patent. There is such a thing as defensive patenting, but that&#x27;s more about building up a portfolio of patents in an area so that if someone sues you, you have something to counterclaim with.