References: Functions, Arrow Expressions & Callbacks¶
-
Subroutine - Wikipedia - Theoretical foundations of modular procedures, parameters, return values, call stacks, and algorithmic decomposition. Essential for writing reusable graphics code and organizing functions.
-
Higher-order function - Wikipedia - Mathematical and computer science concepts of functions that accept functions as arguments or return them as values. Fundamental for JavaScript callback architecture and functional design.
-
Closure (computer programming) - Wikipedia - Exhaustive exploration of lexical environments, persistent state encapsulation, and variable capture in first-class functional programming across modern web development and computing environments.
-
Structure and Interpretation of Computer Programs (Second Edition) - Harold Abelson and Gerald Jay Sussman with Julie Sussman - MIT Press - Abelson and Sussman established the foundational pedagogy of procedural abstraction, higher-order procedures, and functional composition that defines modern computer science education and practice.
-
Functional JavaScript: Introducing Functional Programming with Underscore.js - Michael Fogus - O'Reilly Media - Fogus pioneered intuitive explanations of first-class functions, pure functions, currying, and callback chains tailored for browser JavaScript engineers and interactive creative developers.
-
JavaScript Functions Guide - MDN Web Docs - Authoritative reference on function declarations, expressions, default parameters, rest parameters, arrow syntax, and execution scope in modern JavaScript applications and creative scripts.
-
Arrow Function Expressions in JavaScript - MDN Web Docs - Detailed guide explaining concise arrow syntax, implicit return values, and lexical this binding differences compared to traditional function expressions in JavaScript development.
-
Understanding JavaScript Callbacks - MDN Web Docs - Introduction to synchronous and asynchronous callback functions, event listener attachments, and passing functions as first-class parameters in web programs and sketch pipelines.
-
Modular Functions for Generative Art in p5.js - The Coding Train - Visual video lesson showing how to extract repetitive drawing commands into custom parameterized functions to draw complex procedural flowers, trees, and robots.
-
Array Iteration Methods (forEach, map, filter) - MDN Web Docs - Comprehensive documentation on functional array transformation methods that use callback functions to process arrays of coordinate points cleanly and expressively in JavaScript.