delete this thread
Sometimes I just don't get the syntax of OOP languages. Once you think you know the rules, there is and exception.
In the "Try It out" on page 345 step 6, It shows the call to the HelloWorld method in NameService. Why is there no error in this call when you specify two arguments (yourName, HelloWorldCallback) and the method only defines one? On page 347 it explains that HelloWorldCallback isn't actuall an argument, it is another method that is responsible for handling the response when it comes back from the service. Well, how can you tell by looking at a method call if you passing arugments or referencing another method? How would you even know that the two other methods even exist so that you can handle the two Callbacks???
Chuck
Last edited by ChuckASP; April 1st, 2010 at 11:33 AM..
Reason: No answers
|