
18 Aug
2009
18 Aug
'09
9:56 p.m.
By "simulation way", do you mean "object-oriented way"? they are similar, but not equal, I think. OO is great for simulation, but simulation does not necessarily use OO. Virtual machine simulates real machines, you can use OO language to do it, but most use C in the real world I think. So, simulation way is more like an imperative way.
But it also relates to what do you mean by "simulation". If we are simulating things in the physics world, then it's most likely imperative, and most of the time an OO way. Because the physics world are more natrual in such a perspective. But if we are simulating the way people doing things, it may not necessarily be imperative. For instance Mathematics, It's more natural to simulate in a functional way.