Skip to content
eddiehinkle.comWashington, DC MetroEst. 2015

PostsreplyClear, 52°F

Replied to: learn.liberty.edu

I like Patrick, how you explained “God created each thing for a purpose and gave each item a function and a role that would be unique to that creation”. In addition to that, Professor Sipantzi, I like how you mention information hiding or encapsulation. I think that while the creation account is an example of encapsulation, that also every object of creation is an example of encapsulation.

Patrick, like you mentioned that plants and trees could use the seed class for the purpose of reproduction. Nothing outside of a tree has to worry about the way that it reproduces, it just produces a seed that when planted and watered produces a new tree. All the details and instructions for the seed to grow into a full tree are contained inside.

In a similar way, for thousands of years we as humans didn’t know anything about the way that we reproduce except the basic concepts. We don’t will ourselves to reproduce, our bodies handle it naturally through specific acts and functions. The output is a baby. The mother’s body handles growing, caring and raising the baby until it’s birth. None of this is things that we have to outright act upon, it is all hardwired into who we are as human beings. It is a function of the public interface that results in the creation of a new human being. “The price instance variable…is hidden inside the object…and protected by an outer layer of public methods” (Deitel & Deitel, 2018, p. 256). It’s pretty amazing when you think about it. It’s also kind of like humans are packages in Java and our individual systems in our bodies are classes, allowing for private functions that aren’t even accessible to our conscious mind, while other things have package access. I, as part of the Eddie Package, have access to things and control within my body that you, as an external package don’t.

Tagged

  • csis312
  • school

Posted by Quill