Skip to content

Instantly share code, notes, and snippets.

@Automatic365
Forked from mikedao/modules_questions.markdown
Last active April 13, 2016 14:39
Show Gist options
  • Save Automatic365/b497ee583f52557531ce05098273183a to your computer and use it in GitHub Desktop.
Save Automatic365/b497ee583f52557531ce05098273183a to your computer and use it in GitHub Desktop.
  • What do you know about modules already? If little, what would you guess modules are all about?
  • I don't know anything. I would guess that they are self contained programs similar to gems.
  • 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 golf ball be an acceptable response?
    • Because it is a type of ball, and with no other specifications to go off of, one is as good as another.
  • 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?
    • The first ancestor would inherit the charachteristics of the second
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment