Instances are Tiny Universes

Posted by Annette on December 16, 2017

When I first started exploring the realm of coding I remember thinking that it was fun solving the puzzles and creating fun algorithms to do simple functions like storing data and sorting but the functionality seemed limited. When I hit the object oriented section of Ruby it felt like the possibilities became endless. My coding existence was no longer limited and possibilities were only limited by imagination and time. Programs and websites started popping into my head and I could understand the basics of video game creation. Characters are their own objects and own different skills. A priest couldn’t cleave like a warrior because they don’t have access to that method! The lamp next to the couch has attributes like ‘temperature’, ‘status’, and ‘usage time’. In fact, instances could be as large or small as you needed them to be. Instances are their own tiny universes. This universe is an instance and every item within it a smaller instance.

Maybe we are living in a computer simulation. Maybe it is the purpose behind programming that makes it imitate life so accurately albeit abstractly.

Either way this is how I see everything now. Objects with attributes that affect other objects with attributes.