OO Life Posted by: amrosama in Untagged  on

I was sitting in the back of a bus on my way to college, the I started thinking about a joke I’ve heard in codecall that says “I want to change the world but they wont give me the source code”.

Then I asked myself what would the source code of the world look like?

Object oriented theory stroke me hard, people sleep, walk, eat, and process food the same way , so when they want to wake up the call a function “wakeup(datetime.now());” and when eat call the function “eat((foodtype)pizza);” and when we need to learn a new skill we simply declare the class. But the main difference is that humans and animals write their own code without debugging.

 But the real question is: did programming come from life? Or did life come from programming? 


Trackback(0)
feed6 Comments
shibbythestoner
October 24, 2008
Votes: -1

Programming came from life (IMO). Coding is just our way of simulating the real world. Otherwise it might be much easier to make things (eg programs or machines) conscious.

report abuse
vote down
vote up
daah
October 24, 2008
Votes: +0

doesthe same thing apply to math or even physics which our world relies on..
i mean physics isnt a way to simulate the world its rules of the world that human understood!

report abuse
vote down
vote up
shibbythestoner
October 24, 2008
Votes: +1

In my opinion, physics (the way we think of it) is just our measurement of forces that are otherwise unexplained. Consider a comet moving through space - can you decompile it? Can you view any scripting, or even any numbers? These are things we have invented to either measure or simulate something. It seems true that there are rules that all seems to follow, and indeed it could be SIMULATED using programming (given a very good computer, and an even better programmer), but it would never be the real thing. I would warn against confusing computers and the real world until some real evidence is given to think otherwise.
That said, there is an interesting argument that the universe is made up of many, many, "yes" and "no"s - much like our binary system.
I am not sure either way, but if the universe was "programmed" I hope it doesn't have a return(0) anywhere.

report abuse
vote down
vote up
Brandon W
October 24, 2008
Votes: +0

I read that. It is the Favourite Quote thread.

That is really interesting, I never thought of that.

report abuse
vote down
vote up
Jordan
October 24, 2008
Votes: +1

Good question. One day we may make a program that simulates life and a world. I don't think it is impossible.

You have some deep thoughts though - what is life, I believe is the essence of your question. Are we a part of a program? If so, how large is that program? I mean, we think in GBs and TBs but to generate everything we know would be unimaginable.

Excellent blog!

report abuse
vote down
vote up
WingedPanther
October 25, 2008
Votes: +0

My opinion: Math provides a set of logical structures that are self consistent. Physics attempts to determine which of those logical structures also describes our observations. Programming utilizes those logical structures to create models of things around us (bank accounts, notepads, etc) and to store/retrieve data.

report abuse
vote down
vote up

Write comment
 
 
quote
bold
italicize
underline
strike
url
image
quote
quote
smile
wink
laugh
grin
angry
sad
shocked
cool
tongue
kiss
cry
smaller | bigger
 

security image
Write the displayed characters


busy