Carl Malamud is a breakthrough thinker and doer on transparency and open government. In the brief video below, he makes the very interesting case that various regulatory codes are wrongly withheld from the public domain while citizens are expected to comply with them. It’s important, mind-opening stuff.
It seems a plain violation of due process that a person might be presumed to know laws that are not publicly available. I’m not aware of any cases finding that inability to access the law for want of money is a constitutional problem, but the situation analogizes fairly well to Harper v. Virginia, in which a poll tax that would exclude the indigent from voting was found to violate equal protection.
Regulatory codes that must be purchased at a high price will tend to cartelize trades by raising a barrier to entry against those who can’t pay for copies of the law. Private ownership of public law seems plainly inconsistent with due process, equal protection, and the rule of law. You’ll sense in the video that Malamud is no libertarian, but an enemy of an enemy of ordered liberty is a friend of liberty.