Yes, and what did the damaging code and viruses actually do in that era?
Software, OSs, and the internet at large were comically unsafe from a safety perspective. There was also a very high barrier of entry in terms of the skills required to take advantage of that, and very little incentive to do so compared to today or even 20 years ago.
If you got lucky, they just self-replicated onto floppies. Not so lucky, they would corrupt your hard drive.