I understand that functions in JavaScript can take any number of arguments.
Yes
I can describe the similarity between blocks in Ruby and anonymous functions in JavaScript.
Yes
I can explain how the new
keyword changes the way a function behaves.
-ish
I can explain the implicit steps that happen in my function when I use the new
keyword.
No
I can explain the difference between an object's prototype and the prototype
property on the constructor function.
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
module
?Step One: Watch Writing Testable JavaScript - Rebecca Murphey from Full Frontal 2012 (award for worst conference name ever?)
Step Two: Fork this gist.
Step Three: Consider the four responsibilities that Rebecca lists for client side code (hint: they're color coded).
Step One: Watch Mary Rose Cook Live Codes Space Invaders from Front-Trends. (The second worst conference name ever?)
Step Two: Fork this gist.
Step Three: Respond to this question in your fork: What is one approach you can take from this Mary's code and implement in your project?
tick()
function to get the gates to pass at a set interval.prototype
to set aspects of an elementisDown
method to see if the user is pressing the left or right arrow buttons**Step One**: Watch [Sorting Algorithms in JavaScript](https://www.youtube.com/watch?v=uRyqlhjXYQI) | |
**Step Two**: Fork this gist. | |
**Step Three**: Respond to this question in your fork: "What are some of the balances and trade offs between different sorting algoritms?" | |
* The sorting algorithm you choose depends on what you're sorting and how many resources you have to allocate. | |
* Bubble sorts can very little memory but are slow and unstable. | |
* Insertion sorts are stable but have similar downsides to bubble sorts. They're not ideal for large amounts of data. | |
* Merge sorts are kind of like the Cadillac of sorting algorithms, but like a Cadillac, they takes a lot of resources. If you have the memory to give, the merge sort is fast and stable. | |
Watch Recursion
Fork this gist
Answer the following questions in your fork
Do you pronounce 'babel' in the same way?
Haha. No. A 'bauble' is something you decorate your Christmas tree with. 'Babel' is the Hebrew term for Babylon which means 'confusion'. But he's Swedish. So, we can't hate too much. They brought the world Ikea.
Follow Up Question: Will you now?
Only if I hate the person I'm talking to.
##PROTIP: README Love
READMEs are AWESOME. They are one of the best things you can add to a repo, (other than quality code), to make it look professional.
####Things that make a README great:
Today we're going to build a node.js application to collect email addresses using Kickbox. We'll be using Express and Request on the server side, and jQuery on the client.
We'll be using Glitch during this tutorial, because it provides an environment, editor, and hosting in one convenient package. There's an example of the completed project too. If you want to follow along in your own environment, all of the code will work.
Recipient Authentication makes it easy to collect email addresses the right way. We handle account activation, double email opt-in subscriptions, and password resets. We make sure the email gets delivered, send drip reminders, expire old links, handle out-ops, and automatically add authenticated addresses to your email service provider or marketing platform.