Correct. And just like laws- if regular people can't read what you have written, then likely you are doing it wrong.
Bad law is always overly complex. The more complex it is, the more likely somebody has introduced some ambiguity.
Bad code is also always overly complex. The more complex it is, the more likely it will take a week to do a job that should take an hour when maintaining it.
Another way the law is like code is that legacy code and legal systems both grow more complex over time as new "features" are added, bugs are fixed, etc.
For example, compare the commandment "Thou shalt not kill" with the exceptions and mitigations that have been added over time: self defense, soldiers in war, accident and so on. The law gets complex because simple laws don't cover all the possible extenuating circumstances.
Another reason the law gets complex is because criminals are always coming up with new scams, exploiting loopholes and using the law against each other as a weapon. It's a lot like fighting malware on the internet or new requirements being generated for a program after it is released.