Reading_Notes

View the Project on GitHub Hiba-Almade/Reading_Notes

Node.js & Pair Programming:

Node.js

Node.js?

is an open-source, cross-platform, back-end JavaScript runtime environment that runs on the V8 engine and executes JavaScript code outside a web browser.

Node.js lets developers use JavaScript to write command line tools and for server-side scripting—running scripts server-side to produce dynamic web page content before the page is sent to the user’s web browser.

Consequently, Node.js represents a “JavaScript everywhere” paradigm, unifying web-application development around a single programming language, rather than different languages for server-side and client-side scripts.

Chrome’s V8 JavaScript Engine?

Open source high-performance JavaScript and WebAssembly engine, written in C++. It is used in Chrome and in Node.js, among others. It implements ECMAScript and WebAssembly, and runs on Windows 7 or later, macOS 10.12+, and Linux systems that use x64, IA-32, ARM, or MIPS processors. V8 can run standalone, or can be embedded into any C++ application. It takes JavaScript and makes it into something that individual’s computers can read and execute. The Chrome V8 engine is not exactly what node is built on, though. Cause node doesn’t run in the browser.

### Node is a JavaScript runtime? It executes code on the computer, not necessarily on the browser.

npm?

A package manager for JavaScript. For example, if you wanted to install a package called ‘abc,’ you would type npm install abc .

Using npm and Node in tandem to install and run build tools lets one test code, do code linting, and other helpful tasks. When working with React, it is especially important to have a working knowledge of node and npm.

Node can also be used as a scripting language, or to write one’s own terminal tool.

node js


Pair Programming:

How it works?

one person is the driver, and the other is the navigator. The driver is the one typing the code and handling the immediate tech issues, and the navigator is watching, strategizing, and researching.

Reasons to Pair Program?

pair