What is node.js?
Node.js is a runtime using Chrome's V8 JavaScript enginge and libuv library. It is event-based, non-blocking, and asynchronous.
In your own words, what is Chrome’s V8 JavaScript Engine?
It is a high-performance engine for JavaScript and WebAssembly that Chrome and Node.js use (others due as well). It is written in C++.
What does it mean that node is a JavaScript runtime?
It means that JavaScript code can be run in it and it will execute that code.
What is npm?
NPM stands for Node Package Manager. It is bundled with Node. It is considered the package manager for JS, and it's the world's largest software registry.
What version of node are you running on your machine?
v16.14.0
What version of npm are you running on your machine?
8.3.1
What command would you type to install a library/package called ‘jshint’?
I would type npm install -g jshint
into terminal.
What is node used for?
Node allows for JS to be run on the server. It is useful for building apps with real-time interaction (such as chat sites). It also accomodates API building with high-volume input and output of requests of server.
What are the 6 reasons for pair programming?
Acronum time again: JEELCS!
Job - be ready for the interview which often involves pair programming Efficiency - it actually helps catch/prevent mistakes which saves time in the long-run! Environment - ensures you're ready for a work environment that will definitely involved pair programming. Learning - fellow students have a lot to teach us, we all have our own knowledge bases and strengths. Collaboration - by working together, we can be more engaged and focused than when working alone. Social - increases and flexes our muscles for building and maintaining crucial social skills!
In your experience, which of these reasons have you found most beneficial?
Efficiency is huge, catching errors is way easier with a second set of eyes. Silly spelling errors or syntax can cost so much time trying to find.
How does pair programming work?
There is a driver who types and a navigator who instructs the driver what to type/code/do.