> But why exactly is reading a bit of code fine w.r.t. copyright, but reading more code suddenly violates copyright?
In all fairness, the article mentions the Fair Use doctrine. You could make the argument that reading a bit of code is allowed, but doing it at a large scale would not be covered as an exemption to copyright.