We lived in that world prior to ~2000. It sucked. Programmers spent all of their time reinventing the wheel - so much so that when I was at university around 2001-2004 one of the biggest topics was "software reusability". How could we get out of the trap of writing the same things over and over again?
Back then the answer was supposed to be OOP. With hindsight, the answer was open source - in particular robust library ecosystems like PyPI and NPM.
I have no leg to stand on, I owe my career to proprietary software building on top of open source code, but lately I have been wondering what that alternate world would look like. As it stands, if you want to write software and sell it, you've got at most a couple of months before someone open sources a clone of your project. Sure, there's no guarantee it'll be anywhere near as good. Photoshop is still king. But one can't help but wonder what the proprietary IBM world would have been like.