Friday, March 9, 2012

Alice programming question?

what is the advantage of using an object parameter in a class-level method?Alice programming question?
Speaking for all OO languages, it can allow you to pass many native variables with one parameter instead of many. It can also allow you to abstract some of the functionality to the class itself instead of having to duplicate it or reference it in the main class.



I don't think this is specific to Alice, but I don't know Alice personally.

No comments:

Post a Comment