View on GitHub

reading-notes

Daily Reading 6

NODE.JS

An Introduction to Node.js on sitepoint.com

What is node.js?

It seems to be a fork of the V8 engine architecture re-suited for non-browser purposes?

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

A javascript engine used for efficient execution of javascript code on webpages.

What does it mean that node is a JavaScript runtime?

It accepts and uses javascript programming, and can parse and perform its actions.

What is npm?

Node Package Manager. A system for downloading, installing, and preparing javascript programs via the console.

What version of node are you running on your machine?

v18.3.0

What version of npm are you running on your machine?

8.11.0

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

npm install -g jshint

(the -g is an argument for “install globally)

What is node used for?

Node excels in real-time modification and display of data. Things like being able to share changes in a document as they are typed, or chat programs, or backend systems that involve lots of rapid actions.

6 Reasons for Pair Programming

What are the 6 reasons for pair programming?

Increased Efficiency: Research has found that pair programming is nearly as efficient as two people programming individually, but also results in less bugs, preventing issues later on.

Increased Focus: Having someone to bounce off of and speak with while you both work makes sure that you’re staying engaged.

Learning from Others: Your pair might come up with a simple solution you had no idea existed, and you may do the same for them, which makes you both better programmers for knowing new solutions to problems.

Social skill: Pair programming means you’re always talking. Practicing social skills simply comes with the territory of undertaking pair programming.

Job Interview Preparedness: Many job interviews involve you doing pair programming with an existing employee to gauge you skill at working with the existing team.

Work Preparedness: Many programming jobs start with pair programming, as you will often be put into responsibility of an existing system, so a trained employee will have to show you how things work, which necessitates a pair programming session.

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

Learning from others. It’s definitely possible for me to end up as the queen of inefficiency in various programming problems, so it’s good for me to have someone to talk out my solutions to problems with.

How does pair programming work?

Two people at the same computer, working on the same code. One driver, one navigator. Driver being the person typing the code, navigator working out the logic and instructing them on what actions to take and what approaches.

Back To Main Page.