I recall reading somewhere in a book about the very early days of software development that that was exactly how it worked. Programmers literally came with bits and pieces of the software they had previously written that they drew on during development. The book mentioned that all the software during that time just came with the hardware you bought for hundreds of thousands of dollars. There wasn't an industry around selling software yet. Wish I could remember what book it was...