Designing
Posted: Thu Aug 04, 2005 7:56 pm
Has one every noticed how the methods that one exposes (especially in a scripting system) seem to be rather implementation or protocool specific.
You rarely see these type methods exposed for a mobile object (with the appropriate paramter lists):
speak()
hear()
move()
recieveAttack()
attack()
see()
etc.
Things that most people can understand and use without having to understand ALL the implementation details within. That should be done inside those methods as needed.
Not saying these would be the only methods exposed (or even used internally), lower level ones perhaps should be done for these to use as well as more advance scriptors/coders to make the needed behavior changes. But it seems like one doesn't start from this concept, and work down.
Just another idle ramble.
You rarely see these type methods exposed for a mobile object (with the appropriate paramter lists):
speak()
hear()
move()
recieveAttack()
attack()
see()
etc.
Things that most people can understand and use without having to understand ALL the implementation details within. That should be done inside those methods as needed.
Not saying these would be the only methods exposed (or even used internally), lower level ones perhaps should be done for these to use as well as more advance scriptors/coders to make the needed behavior changes. But it seems like one doesn't start from this concept, and work down.
Just another idle ramble.