| 1 | What are arrow functions introduced in PHP 7.4, and how do they simplify writing short closures compared to traditional anonymous functions? PHP › Closures & Anonymous Functions | PHP | Closures & Anonymous Functions | Intermediate |
| 2 | How can closures be used to implement simple dependency injection or callback based customization within a class? PHP › Closures & Anonymous Functions | PHP | Closures & Anonymous Functions | Intermediate |
| 3 | How do closures unintentionally keep large objects alive longer than expected? JavaScript › Memory Management & Garbage Collection | JavaScript | Memory Management & Garbage Collection | Intermediate |
| 4 | How does variable capture (closures) work in a C# lambda expression, and what pitfall occurs when capturing a loop variable? C# › Delegates, Events & Lambdas | C# | Delegates, Events & Lambdas | Intermediate |
| 5 | How do you implement a debounce function using closures, and how is it a functional programming technique? JavaScript › Functional Programming | JavaScript | Functional Programming | Advanced |
| 6 | How does a closure capture variables from its enclosing scope, and what pitfall occurs when creating multiple closures inside a loop? Python › Functions & Scope | Python | Functions & Scope | Advanced |
| 7 | What is an anonymous function in PHP, and how does it differ from a regular named function? PHP › Closures & Anonymous Functions | PHP | Closures & Anonymous Functions | Beginner |
| 8 | What is the use keyword in a PHP closure, and why is it needed to access outside variables from within an anonymous function? PHP › Closures & Anonymous Functions | PHP | Closures & Anonymous Functions | Beginner |
| 9 | How does passing a variable by reference into a closure's use clause differ from the default pass by value behavior? PHP › Closures & Anonymous Functions | PHP | Closures & Anonymous Functions | Intermediate |
| 10 | How does binding a closure to a specific object or class using bindTo or Closure::bind allow it to access private properties and methods it otherwise could not? PHP › Closures & Anonymous Functions | PHP | Closures & Anonymous Functions | Advanced |
| 11 | How do first class callable syntax and higher order functions in modern PHP support building flexible, composable, functional style code? PHP › Closures & Anonymous Functions | PHP | Closures & Anonymous Functions | Advanced |
| 12 | What is the Module pattern and what problem does it solve? JavaScript › Design Patterns in JavaScript | JavaScript | Design Patterns in JavaScript | Beginner |
| 13 | What is a higher-order function? JavaScript › Functional Programming | JavaScript | Functional Programming | Beginner |
| 14 | What is the functools module used for in Python? Python › functools & Functional Programming Tools | Python | functools & Functional Programming Tools | Beginner |
| 15 | How do you use functools.partial to fix keyword arguments for logging or callback functions? Python › functools & Functional Programming Tools | Python | functools & Functional Programming Tools | Beginner |
| 16 | What is ReactPHP and how does its event loop enable non blocking, asynchronous behavior in standard PHP? PHP › Asynchronous PHP (ReactPHP & Swoole) | PHP | Asynchronous PHP (ReactPHP & Swoole) | Beginner |
| 17 | How do you define and call a basic function in PHP, and what are function parameters and return values? PHP › Functions & Scope | PHP | Functions & Scope | Beginner |
| 18 | What is variable scope in PHP, and why can't a function normally access a variable defined outside of it? PHP › Functions & Scope | PHP | Functions & Scope | Beginner |
| 19 | Why are ES Module imports 'hoisted' and evaluated before the rest of the module's code runs? JavaScript › ES Modules | JavaScript | ES Modules | Intermediate |
| 20 | What is currying and what problem does it solve? JavaScript › Functional Programming | JavaScript | Functional Programming | Intermediate |
| 21 | How does yield pause and resume execution, and what does it return to the caller? JavaScript › Iterators & Generators | JavaScript | Iterators & Generators | Intermediate |
| 22 | How do array_map, array_filter, and array_reduce help you transform and process array data without writing manual loops? PHP › Arrays in PHP | PHP | Arrays in PHP | Intermediate |
| 23 | How can a generator receive values sent into it during iteration using the send method, enabling two way communication with the calling code? PHP › Generators & Iterators | PHP | Generators & Iterators | Intermediate |
| 24 | What does the __invoke magic method do, and how does it let you use an object instance directly as if it were a function? PHP › Magic Methods | PHP | Magic Methods | Intermediate |
| 25 | What does 'live binding' mean for ES Module exports, and how does it differ from CommonJS? JavaScript › ES Modules | JavaScript | ES Modules | Advanced |