Created by
Terms in this set (43)
Functional programming involves using pure functions that avoid shared state, mutating data, and side-effects. It is declarative, rather than imperative.
Rather than using functions to mutate a variable, functions take the value of the variable as a new variable and return a mutated version of the new variable. This allows the original variable to remain unchanged.
Rather than using functions to mutate a variable, functions take the value of the variable as a new variable and return a mutated version of the new variable. This allows the original variable to remain unchanged.
Synchronous code equates to 'blocking'. Blocking is basically slowing down code by not allowing the call stack (order of events) to continue until a slow 'block' is complete.
Asynchronous code uses callbacks to avoid blocking the call stack by threading the callback out to an api and then adding them to the callback stack once the api has finished the computation. The callback stack waits to be added to the call stack until the call stack is empty.
Asynchronous code uses callbacks to avoid blocking the call stack by threading the callback out to an api and then adding them to the callback stack once the api has finished the computation. The callback stack waits to be added to the call stack until the call stack is empty.
Other sets by this creator
Recommended textbook solutions

The Language of Composition: Reading, Writing, Rhetoric
2nd Edition•ISBN: 9780312676506Lawrence Scanlon, Renee H. Shea, Robin Dissin Aufses661 solutions

Technical Writing for Success
3rd Edition•ISBN: 9781111445072Darlene Smith-Worthington, Sue Jefferson468 solutions

Technical Writing for Success
3rd Edition•ISBN: 9780538450485 (3 more)Darlene Smith-Worthington, Sue Jefferson468 solutions

Literature and Composition: Reading, Writing,Thinking
1st Edition•ISBN: 9780312388065Carol Jago, Lawrence Scanlon, Renee H. Shea, Robin Dissin Aufses1,697 solutions
Other Quizlet sets
1/3