Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
8 Cards in this Set
- Front
- Back
Difference between functional and imperative in terms of Programmer Focus
|
Imper: How to perform tasks and how to track changes in state
Func: What information is desired and what transformations are required on the data to get the information |
|
Difference between functional and imperative in terms of State changes
|
Imper: very important
Func: non-existant |
|
Difference between functional and imperative in terms of Order of execution
|
Imper: very important
Func: low importance, order is implicit |
|
Difference between functional and imperative in terms of Primary flow control
|
Imper: Loops, conditionals, and function calls
Func: Function calls, specifically recursion |
|
Difference between functional and imperative in terms of Primary manipulation unit
|
Imper: instances of structures or classes
Func: Functions as first-class objects and data collections. |
|
Basic description of Imperative
|
Sequence of commands to take actions (thereby changing the state)
|
|
Basic description of Functional
|
Declarative, describes what needs to be done rather than how to do it
|
|
Procedural programming
|
Imperative programming in which statements are structured into procedures (also known as subroutines or functions)
|