Page 2 of 2

Re:i want micro-kernel with full explain.

Posted: Thu Nov 03, 2005 2:02 pm
by Kemp
*Creates wrapper class to return from damage() with no effect* :P

Re:i want micro-kernel with full explain.

Posted: Thu Nov 03, 2005 4:56 pm
by Candy
Kemp wrote: *Creates wrapper class to return from damage() with no effect* :P

Code: Select all

public final class environment { ... };
Are you sure that's possible? ::)

Re:i want micro-kernel with full explain.

Posted: Thu Nov 03, 2005 6:53 pm
by Kemp
Dammit. But wait... environment is a subclass of ecosystem, I'll create my own subclass called kemp_environ and make sure I'm referenced by my new class.

Re:i want micro-kernel with full explain.

Posted: Fri Nov 04, 2005 2:36 am
by Candy
Kemp wrote: Dammit. But wait... environment is a subclass of ecosystem, I'll create my own subclass called kemp_environ and make sure I'm referenced by my new class.
You remind me of the Mythbusters - "I reject your reality and substitute my own" :)

Re:i want micro-kernel with full explain.

Posted: Fri Nov 04, 2005 4:04 am
by Pype.Clicker
Kemp wrote: Dammit. But wait... environment is a subclass of ecosystem, I'll create my own subclass called kemp_environ and make sure I'm referenced by my new class.
Yep, not mentionning the danger of us becoming unable to interact with you since you don't export the expected "environment" class ... aah, if only it has been defined only as an interface. Now i'll have to use introspection to access kemp's public methods...

Re:i want micro-kernel with full explain.

Posted: Fri Nov 04, 2005 4:14 am
by Candy
Pype.Clicker wrote:
Kemp wrote: Dammit. But wait... environment is a subclass of ecosystem, I'll create my own subclass called kemp_environ and make sure I'm referenced by my new class.
Yep, not mentionning the danger of us becoming unable to interact with you since you don't export the expected "environment" class ... aah, if only it has been defined only as an interface. Now i'll have to use introspection to access kemp's public methods...
But if it were an interface, then you'd have to specify things such as Newton's laws in the interface, which is impossible with most interfaces. Also, allowing people to hack the universe creates a matrix-like world, which is probably not as intended. So, a final class is indeed what the environment should be.

You can of course inherit from ecosystem, but you cannot take the global variable toplevel_ecosystem :)... you can't change the world, but you can create a different one inside the other one.

Unless of course there's a bug in environment. Just imagine you can jump from building to building... ;D

Re:i want micro-kernel with full explain.

Posted: Fri Nov 04, 2005 5:26 am
by bubach
More people that forgot to take their pills? :D

*tempted to connect to some MUD..*

Re:i want micro-kernel with full explain.

Posted: Fri Nov 04, 2005 3:08 pm
by distantvoices
*reaches for the frog pills* time for the daily dose I reckon *rofl*