AAndroid Expert·10h agoLambdas Aren’t Free: A Bytecode Tour of Kotlin’s inline and reifiedSee what Kotlin inline and reified really do at the bytecode level: lambda allocations, code bloat, noinline, crossinline and Android use cases.16 min read·android-expert.hashnode.dev
NNitin Sharma·Apr 14Understanding Callback Functions in JavaScriptJavaScript is a language where functions are treated as first class citizens, which means they can be stored in variables, passed as arguments, and even returned from other functions. This idea forms5 min read·nitinsharma11.hashnode.dev
GGambit·Apr 2JS - Loops and Higher Order functionloops are helpful when we want to execute the same code a lot of times. for loop Here below is a example of printing 1 to 10 for(let i = 1; i <= 5; i++){ console.log(i) } Output 1 2 3 4 5 Pointe11 min read·javascriptfromscratch.hashnode.dev
CChandra Sekhar·Feb 9Higher Order Functions and Array methods in JSHigher Order Function (HOF): A Higher-Order Function is a function that does at least one of the following: Takes one or more functions as arguments (a callback). Returns a function as its result. Example: const addNumbers = (a, b) => { return a ...7 min read·hof-array-methods.hashnode.dev
AAditya Aggarwal·Feb 9Exploring Higher Order Functions in JavaScript ArraysLearn to use higher-order functions in JavaScript arrays, such as map, filter, and reduce, for cleaner, more maintainable code3 min read·techaditya.hashnode.dev
CCharan Raju Pakalapati·Feb 9Array Methods in JavaScriptJavaScript provides powerful abstractions that help developers write cleaner, declarative, and more readable code. One such core concept is Array Methods. JavaScript Array Methods. Most modern array methods are higher order functions because they acc...6 min read·jscoreconcepts.hashnode.dev
UUdit Rohila·Feb 9Array MethodsArray.prototype.map() Purpose:Iterate through array elements and call a callback function for each element and store the result in a new modified array. Syntax: map(callbackFn) Callback Function parameters:element,index,array Return value:Returns a n...4 min read·hof-and-array-methods.hashnode.dev
SSameer Gedam·Feb 9Mastering Higher Order Functions and Array Methods in JavaScriptIntroduction: The Power of Functional Programming in JavaScript When I first started learning JavaScript, I often found myself writing repetitive loops and struggling with unexpected undefined values. It wasn't until I discovered higher order functio...11 min read·array-mehods.hashnode.dev
SSri Durga Prasad·Feb 9Higher Order Functions and Array Methods in JavaScriptHigher Order Function: A Higher Order Function is a function that takes another function as an argument or returns a function. Example: Function Taking Another Function greet(name, callback) { console.log("Hi " + name); callback(); } function...10 min read·javascripthof.hashnode.dev
RRohit Sharma·Feb 7Higher Order Functions (HOF)Learn about higher-order functions with examples like forEach, map, filter, find, reduce, every, and some in JavaScript3 min read·higherorderfunctionsonarrays.hashnode.dev