Yes, I prefer a law where I can take a possible action and judge by the text whether that action is legal or not, rather than always trying to avoid pissing off a fickle public, like trying to avoid waking a husband who drinks too much so you don't get a black eye.
Except tax law is not always capable of being totally black and white. Have you ever had to work through small business or rental deductions on your taxes? Grey areas, grey areas everywhere, at least if you want to take all the deductions & credits you are entitled to. Nobody including the IRS can give you a black and white answer. (Repairs vs improvements, which are deducted differently, is a good toy example)
Part of this I think may actually be intentional, to prevent the accidental creation of technically-legal-but-obviously-exploitative loophole tax strategies. If it's fuzzy, you have to weight your risk of audit, your ability to justify your choice, and so on.
Anyway, in the corporate case there are also fundamentally difficult-to-define areas. For example:
Company A transfers its global IP portfolio to Subsidiary B. B is incorporated in Ireland, but is controlled and managed by directors based in a low corporate tax jurisdiction such as Bermuda, the Cayman Islands or Andorra; crucially, under Irish law, this characteristic renders B tax resident in these havens and therefore subject to their relevant tax legislation. Subsequently, B grants licences to exploit the IP portfolio to Subsidiary C which is incorporated and tax resident in Ireland; it is this link between two Irish subsidiaries which yielded the name “Double Irish”. C is the actual operative unit of the Company A: it owns real estate, it employs workers, it exploits the IP portfolio, it sells advertising and collects payments, ultimately generating earnings. Nevertheless, C does not make profits, as it has to pay royalties to B for the IP licences; crucially, B pays very little corporate taxes because it is based in a tax haven. Thus this structure allows A to shift all profits emerging from its IP portfolio to a jurisdiction where they will not be subject to a significant rate of taxation.
This scheme depends in part upon the ability of the company to set royalties and IP transfer costs at whatever they like, independent of the real value of the IP. Clearly this is not quite right, but what is the real value? Who determines it?
This is exactly my point, if the company can create a complex web of interactions to the point that it creates a grey area at what point to we as a society throw our hands up, call a spade a spade and instead pursue a determination that they are clearing trying to avoid paying taxes, regardless of what the specific technical interpretation of the scenario they have set up.
For example, what if they said that the taxable location of the entity was a function of the output of a quantum state? This is a grey area, but is even this enough for us to say that they are clearly just trying to pull the wool over the governments eye?
In our society, taxation laws are a system of rules. I think its important that if companies and people are following the law that they're then not held to some other second arbitrary standard.