> Computer code is not comparable to a book

Counterpoint: Yes, it is. Both are copyrighted under the same legal system.