reading-notes

Node JS

An Introduction to Node.js on sitepoint.com

  1. What is node.js?

Node.JS is a javascript runtime built on chrome’s V8 javascript engine according to sitepoint.com.

  1. In your own words, what is Chrome’s V8 JavaScript Engine?

chrome’s V8 Javascript engine is an open source engine that runs in Google Chrome and chromium based web browsers,it’s specifically designed for performance and compiling javascript directly to native machine code

  1. What does it mean that node is a JavaScript runtime?

what this basically means is that it is the software stack responsible for installing your web service code and anything that depends on running your service code,node.js highly efficient by taking a non-blocking approach to serving requests

  1. What is npm?

NPM stands for node package manager in javascript. since this is the package manager for javascript it is also one of the world’s largest software registries.

  1. What version of node are you running on your machine?

V 19.4.0

  1. What version of npm are you running on your machine?

9.1.1

  1. What command would you type to install a library/package called ‘jshint’?

npm install -g jshint

  1. What is node used for?

node is used for securing thousands of pre-built packages that already exist in the development world.They can help you bundle javascript files and season to static assets You can use them to run tests or automate code linting and style checking.Essentially they are a crucial backbone in how the software development industry runs and is important to know how to use node.

Paired Programming

  1. What are the 6 reasons for pair programming?

the six reasons that you should pair program are as follows

Greater Efficiency, Engaged Collaboration, Learning from Fellow Students, Social Skills, Job Interview Readiness, Work Environment Readiness

  1. In your experience, which of these reasons have you found most beneficial?

in my experience the reasons that I have found most beneficial were increasing efficiency,engaged collaboration and work environment readiness. I feel the paired programming really does help with learning to work as a team,those crucial skills will be really important when it does come down to working on a team to deploy A viable product.It also does help to have somebody who is typing out the code and somebody who can be thinking ahead to what that future code might need to include

  1. How does pair programming work?

pair programming works with one person as the Navigator and one person as the driver. The Navigator is the person who helps direct where the code should go, they help dictate what should be written next and how it should be put together as well as well as guiding what needs to be built next. The driver is the person who is actually writing out the code. these crucial skills combined together do help improve your efficiency with writing code as well as your ability to collaborate with others while writing code.