Skip to content

Instantly share code, notes, and snippets.

@LovelaceTuring
Created January 3, 2020 13:20
Show Gist options
  • Save LovelaceTuring/4db3b38757df79fc08b47576e4e4bf51 to your computer and use it in GitHub Desktop.
Save LovelaceTuring/4db3b38757df79fc08b47576e4e4bf51 to your computer and use it in GitHub Desktop.
Vocabulary for Chapter 1 of Eloquent Javascript
// VOCAB LIST
/*
Programming: is the act of constructing a program—a set of precise instructions telling a computer what to do.
Programming Language: is an artificially constructed language used to instruct computers.
Best Practices: a composed set of rules, prescribing the form programs should have.
Vanilla JavaScript: what comes with JS - "out of the box".
ECMAScript: a standardized version of JS - interchangeable with name "JavaScript".
NodeJS: an environment for running JS outside of the browser.
MongoDB/CouchDB: two databases which use JS as the scripting and query languages.
Code: the text that makes up programs.
Data: facts and statistics collected together for reference or analysis.
Bits: are any kind of two-valued things, usually described as zeros and ones.
A note on memory: A typical modern computer has more than 30 billion bits in its volatile data storage (working memory). Nonvolatile storage (the hard disk or equivalent) tends to have yet a few orders of magnitude more.
Value: a chunk of information (in this case, in a JavaScript environment).
Number: a numeric type of value.
Operators (e.g. +,-,*,/,%): Putting an operator between two values will apply it to those values and produce a new value.
Modulo: an arithmetic operator which gives the remainder after dividing one number by another.
Special Numbers (e.g. Infinity, -Infinity, NaN): are considered numbers but don’t behave like normal numbers.
Strings: are used to represent text. They are written by enclosing their content in quotes(',",`).
Escaping a character: inside of a string, a character preceded by a backslash (\) is given special significance.
Unicode Standard: assigns a number to virtually every character you would ever need, including characters from Greek, Arabic, Japanese, Armenian, and so on. If we have a number for every character, a string can be described by a sequence of numbers.
Concatenate: glue two strings together.
Template Literal: a string encased in backticks, as opposed to single or double quotes.
Binary Operator: operators that use two values.
Unary Operator: operators that use one value.
console.log: a method for logging things to the console, and thus making them viewable.
Boolean: type of value, which has just two values,true and false, which are written as those words.
Comparison: a way to compare two values, which results in a boolean value.
Logical Operators (e.g. !, &&, ||): operators which can be applied to boolean values themselves.
Ternary Operator (conditional operator): only such operator, first value picks second or third, based on its being true or false.
Empty Values (e.g. null, undefined): used to denote the absence of a meaningful value - used interchangeably for now.
Type Coercion: When an operator is applied to the “wrong” type of value, JavaScript will quietly convert that value to the type it needs, using a set of rules that often aren’t what you want or expect.
Short Circuiting Evaluation: only certain parts of a boolean expression (&&, ||) are evaulated. See examples for more details. (null || "agnes", "Agnes" || "user", false && "script")
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment