Nevertheless, patenting software is encouraged by law, and I find it my duty to the shareholders of the companies I've been working for to take advantage of this protection.
What a cowardly cop out. If you believe in software patents, I can understand getting one. But to say "I must do X because X is profitable" is ridiculous.