This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. What are some real world use cases/scenarios where ES6 makes programming in JS easier or more efficient? | |
(anon/pointer functions?) | |
2. What are your thoughts on supersets of JS, like Typescript etc? | |
3. | |
4. | |
5. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. let mentor = "First Last"; | |
2. console.log(mentor); | |
3. let and var are interchangable now, I think? The scope is different: var is function scoped and let is block scoped. | |
const is used to create a variable that you will not be changing, a constant. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://repl.it/@reifnotreef/Traffic-lights-drill | |
https://repl.it/@reifnotreef/Error-alert-drill |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://repl.it/@reifnotreef/Creating-arrays-drill | |
https://repl.it/@reifnotreef/Adding-array-items-drills | |
https://repl.it/@reifnotreef/Accessing-array-items-drill | |
https://repl.it/@reifnotreef/Array-length-and-access-drill | |
https://repl.it/@reifnotreef/Array-copying-I-drill |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
What is scope? Your explanation should include the idea of global vs. block scope. | |
Scope is the part of a program that something is in. Global means it's accessible from anywhere, block means it lives within that area of the code. | |
Why are global variables avoided? | |
AFAIK they are generally frowned upon just because they're global. They can cause naming issues or referencing issues. | |
Explain JavaScript's strict mode | |
when you issue 'use strict' at the top of your .js file it will throw an error any time you initialize a variable without a let/const before it. | |
What are side effects, and what is a pure function? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. I have been told I have good communication skills but can come off as abrasive when not meaning to. This is something I have been working on. | |
2. There were some really good points about not just listening, or even just active listening, but thinking about what you listened to. I will be sure to apply this during and after Thinkful. | |
3. Same as #2. I'm also very excited about pair and group programming! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
What is scope? Your explanation should include the idea of global vs. block scope. | |
The part of a file/program that a certain function is accessible, block being within a function etc. Global being defined outside of a function and available anywhere. | |
Why are global variables avoided? | |
They can cause serious issues with scope and may intefer with code you did not write. | |
Explain JavaScript's strict mode | |
When a variable is declared without the let or const keyword, an error will be triggered. | |
What are side effects, and what is a pure function? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://github.com/thinkful-ei-heron/heesu_reif_quiz_app | |
https://thinkful-ei-heron.github.io/heesu_reif_quiz_app/ | |
Worked with Heesu(https://github.com/hskang135) on this project. | |
For the first full day on Friday we used VS Code Live Share to work together. | |
After that it was a mix of live share and screensharing etc. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Write an analogy to describe the relationship between clients and servers: | |
Customer(client) in a restaurant(server) orders(get reequest) something and the restaurant(server) gives them food(data returned from server to client). | |
2. Draw a diagram of the request/response cycle. | |
You can draw your diagram by hand and take a photo to add to your Gist, or try out a | |
diagramming tool like Google Drawings or LucidChart (be sure to sign up for the free tier!). | |
https://i.imgur.com/VIiOqmQ.png |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Does this API require authentication? | |
'Most requests must be authenticated.' | |
2. Does this API support CORS? | |
Yes. | |
3. Find the events search endpoint documentation. Describe in detail the response format of the events search endpoint. | |
I'm assuming you are asking for: api.meetup.com/find/upcoming_events | |
The response is a list of objects which tell you the city and upcoming events in that city. | |
Inside the event opbject it has attendance info, host info, photo if given, description, |
OlderNewer