Skip to content

Instantly share code, notes, and snippets.

@celestelayne
Created June 5, 2015 19:06
Show Gist options
  • Save celestelayne/1a1d15a0d71945d7c623 to your computer and use it in GitHub Desktop.
Save celestelayne/1a1d15a0d71945d7c623 to your computer and use it in GitHub Desktop.
GA WDI18 2015 06 05 Morning Lecture {Ruby Classes & Modules Review}

JavaScript MasterClass

Q: What is a module? A: A collection of methods ... composes things together How different? mainly using modules to compose

Q: What is a class? A: A collection of methods and data ... blueprint for behavior of those methods How different? mainly using inheritance

can put a module in a module and a module inside a class

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment