In general, themostelegant solutions to software patents involve changes to the patent statute, although most advocates are reluctant to explore this route.
Even if a company made the best-tasting food or created themostelegant software package, there just might not be enough consumers to buy what that company was offering and its profits would plummet, as would its stock price.