readingnotes

View project on GitHub

An Introduction to Node.js on sitepoint.com

  • What is node.js? Node.js® is a JavaScript runtime built on Chrome’s V8 JavaScript engine.

  • In your own words, what is Chrome’s V8 JavaScript Engine? open-source JavaScript engine for Google Chrome and Chromium web browsers

  • What does it mean that node is a JavaScript runtime? This means that Node.js is a program we can use to execute JavaScript on our computers

  • What is npm? is a package manager for the JavaScript programming language maintained by npm, Inc.

npm is the default package manager for the JavaScript runtime environment Node.js. It consists of a command line client, also called npm, and an online database of public and paid-for private packages, called the npm registry. The registry is accessed via the client, and the available packages can be browsed and searched via the npm website. The package manager and the registry are managed by npm, Inc.Source

  • What version of node are you running on your machine? v12.22.1

  • What version of npm are you running on your machine? 6.14.12
  • What command would you type to install a library/package called ‘jshint’? npm install -g jshint

  • What is node used for? They can be used for anything from bundling your JavaScript files and dependencies into static assets, to running tests, or automatic code linting and style checking.

Article Source


6 Reasons for Pair Programming

  • What are the 6 reasons for pair programming?
    1. Greater efficiency
    2. Engaged collaboration
    3. Learning from fellow students
    4. Social skills
    5. Job interview readiness
    6. Work environment readiness
  • In your experience, which of these reasons have you found most beneficial? Learning from fellow students,1. Greater efficiency.

  • How does pair programming work? pair programming commonly involves two roles: the Driver and the Navigator. The Driver is the programmer who is typing and the only one whose hands are on the keyboard. Handling the “mechanics” of coding. The Driver manages the text editor, switching files, version control, and—of course writing—code. The Navigator uses their words to guide the Driver but does not provide any direct input to the computer. The Navigator thinks about the big picture, what comes next, how an algorithm might be converted in to code, while scanning for typos or bugs. The Navigator might also utilize their computer as a second screen to look up solutions and documentation, but should not be writing any code.

Article Source


Things I want to know more about