Code as an Analogy of DNA?

A thought comes to mind when I read Marshall’s description. Is a Periodic Table containing valence information a set of “codes” which tells inorganic matter how to form molecules? Are valences all part of a “coded language” (i.e., a set of instructions) which is embedded within matter such that combining various chemicals produces predictable “coded results” to form the resulting products?