Eloquent JavaScript Quotes

3,188 ratings, 4.14 average rating, 280 reviews
Eloquent JavaScript Quotes
Showing 31-60 of 37
“There’s no deep reason to have both arrow functions and function expressions in the language. Apart from a minor detail, which we’ll discuss in Chapter 6, they do the same thing. Arrow functions were added in 2015, mostly to make it possible to write small function expressions in a less verbose way.”
― Eloquent JavaScript: A Modern Introduction to Programming
― Eloquent JavaScript: A Modern Introduction to Programming
“The preceding code works, even though the function is defined below the code that uses it. Function declarations are not part of the regular topto-bottom flow of control. They are conceptually moved to the top of their scope and can be used by all the code in that scope. This is sometimes useful because it offers the freedom to order code in a way that seems meaningful, without worrying about having to define all functions before they are used.”
― Eloquent JavaScript: A Modern Introduction to Programming
― Eloquent JavaScript: A Modern Introduction to Programming
“There are many terrible mistakes to make in program design, and you should go ahead and make them so that you understand them. A sense of what a good program looks like is developed in practice, not learned from a list of rules.”
― Eloquent JavaScript: A Modern Introduction to Programming
― Eloquent JavaScript: A Modern Introduction to Programming
“a detailed low-level one for complex situations and a simple high-level one for routine use. The second can usually be built easily using the tools provided by the first. In”
― Eloquent JavaScript: A Modern Introduction to Programming
― Eloquent JavaScript: A Modern Introduction to Programming
“It also makes the program more difficult to change because prose tends to be more tightly interconnected than code. This style is called literate programming. The”
― Eloquent JavaScript: A Modern Introduction to Programming
― Eloquent JavaScript: A Modern Introduction to Programming
“It helps omit uninteresting details, provides convenient building blocks (such as while and console.log), allows you to define your own building blocks (such as sum and range), and makes those blocks easy to compose.”
― Eloquent JavaScript: A Modern Introduction to Programming
― Eloquent JavaScript: A Modern Introduction to Programming
“most obvious application of functions is defining new vocabulary. Creating new words in regular, human-language prose is usually bad style. But in programming, it is indispensable.”
― Eloquent JavaScript: A Modern Introduction to Programming
― Eloquent JavaScript: A Modern Introduction to Programming