Skip to content

Instantly share code, notes, and snippets.

@bethsecor
bethsecor / require.markdown
Last active March 31, 2016 03:44 — forked from rrgayhart/require.markdown
The Concept of Require

When you start working with WebPack for GameTime, you'll notice that you can't just define a variable in one file and find it in another as easily as you can in Rails.

Read Node.js, Require and Exports and Organize Your Code with RequireJS

Fork this gist and answer the following questions:

  • In the context of Node, what is a module?
  • A module is a piece of your javascript code that could contain a class, or functions, or variables that are common or related to each other and warrant their own file.

JavaScript Functions

I can explain the difference between function declarations and function expressions.

  • Yes!

I can explain what the value of this is in a normal function.

  • global window
@bethsecor
bethsecor / package-management.markdown
Last active March 24, 2016 19:47 — forked from rrgayhart/package-management.markdown
The Dangers of Using Code You Don't Control

The Dangers of Using Code You Don't Control


Checks for Understanding

  • In broad strokes, summarize the event

    • A guy had created an open source npm package called kik and and a company called Kik asked him if he could change the name of his package. In my opinion neither party handled the situation very professionally so I'm not surprised this happened. The guy who created kik got so upset that he unpublished all of his packages, one of which included left-pad. Apparently many applications depended on this package, so for about 3 hours they were all down until npm "un-unpublished" the package to fix everything.

Setting Group Expectations

Group Member Names: Beth Secor, Toni Rib, Steve Pentler

  1. When are group members available to work together? What hours can each group member work individually? Are there any personal time commitments that need to be discussed?
  • Toni: Working together M-F before 8pm, work individually after 8pm, Tuesdays with Toni 4- 5:45, Thursdays pairing with Alex 4-5, 10-11 Saturday pairing with mentor

  • Beth: Working together M-F before 8pm, work individually after 8pm, Tuesdays pairing with Jaime 4-5, Mentor meeting wednesday 12-1