Earlier quoted context omitted.
Who said it was a law?
Which “it” are you referring to? @lacker was talking about copyright in the comment @jcelerier replied to.
They said
> Reading some copyrighted code can have you entirely excluded from some jobs
And they're right. It's because of corporate policies. They never said it was because of a law - you imagined that out of nothing.