I'm fascinated by such things also. I often can't help thinking of God as a programmer, though I don't know how much of that is confirmation bias of my priors as a theist and a programmer. But I've always thought the periodic table and DNA both felt a lot like code...
I think it isn't a coincidence that there is so much order and elegance behind the building blocks of our physical world and the universe but the result is chaotic, and unpredictable.
Maybe it's just our brain discovering patterns that don't mean anything.