One answer claimed that the law was not like code. I do not agree.
In the early days, IBM paid programmers instructions. (Someone I knew said he worked with a programmer who got rich this way. Obviously, the guy did not know how to use the machine index, he wrote a program with zero memory size, which manually stored zero in each address memory.)
There was also a time (long ago) when lawyers were paid by this word. This has helped to popularize practices such as addressing people as “the most highly regarded such and such” and other verbosities.
I just read an answer on SO that said VB.NET 2008 still allows line numbers. You can still run pure DOS on a modern PC. And in the joke there is a lot of truth that all COBOL programs will be diverted from a common ancestor by incremental changes. Backward compatibility and “historical reasons” are common in our area.
This is comparable to the field of law. There are laws that make small (or large) changes to other laws. You have some kind of addiction - hell. There are some ridiculous historical laws (in Hobart, Tasmania, it is illegal for a man to wear a woman’s dress after sunset, because once upon a time convicts dressed like women and people with mugs) that no one could dream of, There are some historical features in software that no one else uses.
Laws often have unintended consequences (mistakes!), Are used for creative purposes (hacks!), Contain loopholes (security vulnerabilities!), Some of which are deliberate (backdoor!), Become modified (patches!) Or capsize (uninstall!).
Yes, laws (as opposed to code) are subject to interpretation. But I think it looks like code maintenance. This helps to adapt laws to new social norms.
To answer the question directly: every developer should know that the law is more like a ridiculously huge software project that has been developed for hundreds of years. (In fact, each country has its own project, and they solve problems in different ways.) Theoretically, after reading the license, you will know what you can and cannot do with your code. But if a competent programmer cannot determine all the errors in his code by simply reading it, then what chance does a non-lawyer have in analyzing the corner cases and gray areas of a legal document?
Like the source code of the software, you can usually get the essence of a legal document by reading it, but if you need to know something specific, ask a professional .