© 2023 Hashnode
#higher-order-functions
Today's Objective Today, we took a look into some concepts not touched on yet in this course: Instances, State, and Higher-Order Functions. I'll touch post a quick definition and example of each conce…
JavaScript treats functions as first-class citizens. Functions are considered values similar to primitives. Functions can be assigned to variables, passed as arguments to other functions and return a…
Introduction In this article, I will talk about common mistakes that people come across when they do not know the difference between function declaration and function call. More importantly, I will in…
Solving a logical puzzle with programming Solve the puzzle in a way that each symbol has its unique value. Guess the operation between the symbols in the cells and then add the cells together to get …
In JavaScript, a higher-order function is a function that takes one or more functions as arguments and/or returns a function as its result. This means that higher-order functions can operate on functi…
Memoization is a technique used in computer science to optimize the performance of functions by caching the results of expensive computations. This can significantly improve the speed and efficiency o…
Decomposition of a code snippet to showcase the usage of anonymous functions, macros and higher-order functions … When it comes to the popularity of programming languages I never really understand wh…
Functional programming is a programming paradigm that treats computation as the evaluation of mathematical functions and avoids changing state and mutable data. JavaScript, being a multi-paradigm lang…
JavaScript is a versatile programming language that allows developers to write efficient and powerful code. One of the language's most prominent features is higher-order functions. Higher-order functi…
Introduction Lambda expressions are a powerful and concise tool that has gained significant importance in modern programming, particularly in functional programming paradigms. In this tutorial, we wil…