- What do you know about modules already? If little, what would you guess modules are all about?
- Golf and basketball both use a ball. But if you're on a basketball court and ask for "the ball," no one is going to throw you a golf ball. Why? If you were as dumb as a computer, why would a golfd ball be an acceptable response?
- You've learned about the object model and method lookups. What would the imapct be of injecting an additional ancestor into a class' lookup chain?
-
-
Save rgbatty/d0468cae6747651822b3e0fce7bf9b11 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Modules allow for grouping subsets of code, ranging from variables all the way to classes.
This wouldn't occur because there is an implicit understanding that a golf ball doesn't belong in basketball. With a computer, if there is two defined Balls, there would be no way to differentiate the two.
Im not sure.