A gene is like a DLL. Asking how it works would require a lot of know-how that’s specific to the usage.
When talking about how DNA is an instruction for making a protein, that protein is your data structure or a function. The next level of fundamental building block. Genes can contain a lot of information or non-information for proteins. Just like a program might have a lot of functions or data. The way they work together and interact is what creates a larger effect.
I think maybe the best starting point for understanding biology is learning about enzymes up close. They are proteins that act as “machines”. It gets down to physics and chemistry to determine how they work, so that’s probably when to drop the analogies.
When talking about how DNA is an instruction for making a protein, that protein is your data structure or a function. The next level of fundamental building block. Genes can contain a lot of information or non-information for proteins. Just like a program might have a lot of functions or data. The way they work together and interact is what creates a larger effect.
I think maybe the best starting point for understanding biology is learning about enzymes up close. They are proteins that act as “machines”. It gets down to physics and chemistry to determine how they work, so that’s probably when to drop the analogies.