View on GitHub

reading-notes

My Reading Notes for Code Fellows Class

Readings: NODE.JS

An Introduction to Node.js on sitepoint.com

Node.js® is a JavaScript runtime built on Chrome’s V8 JavaScript engine.

Node.js is an event-based, non-blocking, asynchronous I/O runtime that uses Google’s V8 JavaScript engine and libuv library.

V8 engine- with performance in mind and is responsible for compiling JavaScript directly to native machine code that your computer can execute

JavaScript runtime- enhanced V8 engine with various features, such as a file system API, an HTTP library, and a number of operating system–related utility method to read JS

npm install -g jshint to install jshint package globally on computer

npm -v to find npm version installed

node -v to find nod eversion installed

npm init -y to install local node package

package.jon is JS data

Node allows JS to run on other languages without switching

(reference: https://www.sitepoint.com/an-introduction-to-node-js/)

Questions

  1. What is node.js?

Node.js® is a JavaScript runtime built on Chrome’s V8 JavaScript engine.

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

open-source JavaScript engine that runs google chrome; what reads JS on apps fro chrome

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

it executes JS on chrome apps through file system API, an HTTP library and other features

  1. What is npm?

package manager

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

v18.4.0

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

8.12.1

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

npm install -g jshint

  1. What is node used for?

installing (via npm) and running (via Node) various build tools; make JS happen

6 Reasons for Pair Programming

Main outcomes from pair programming:

Iterative loops

Code reviews

Fast feedback

Error checking and linting

Driver is the programmer who is typing and the only one whose hands are on the keyboard

Navigator uses their words to guide the Driver but does not provide any direct input to the computer

Why pair program:

Listening: hearing and interpreting the vocabulary

Speaking: using the correct words to communicate an idea

Reading: understanding what written language intends to convey

Writing: producing from scratch a meaningful, well structured solution

(reference: https://www.codefellows.org/blog/6-reasons-for-pair-programming/)

Questions

  1. What are the 6 reasons for pair programming?

  2. Greater efficiency
  3. Engaged collaboration
  4. Learning from fellow students
  5. Social skills
  6. Job interview readiness
  7. Work environment readiness

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

Engage Collaboration for sure, I am so knew to this that I take everything to heart and literal to the point it has handicapped me and I need help with critical thinking skills from demos to labs

  1. How does pair programming work?

A synergestic relationship between Driver and Navigator

Things I want to Know more about