Himanshu Chauhanhimanshuchauhan.hashnode.dev·Mar 9, 2024Day 23: Functional Programming Concepts (map, filter, reduce) in PythonToday, on the twenty-third day of our Python learning journey, we delve into essential concepts: map, filter, and reduce functions. Join us as we explore the significance and widespread use of these powerful tools. Map In Python, the map() function i...Discuss·1 likePython Python
Rahul Kumarrahul319.hashnode.dev·Mar 8, 2024Interview Questions related to reduce() in js.What is the purpose of the reduce() function in JavaScript? The reduce() function is used to reduce an array to a single value. It applies a function against an accumulator and each element in the array (from left to right) to reduce it to a single ...DiscussReduce
Anugya Guptaanugyawrites.hashnode.dev·Jan 27, 2024Map, Filter & Reduce Functionmap() The map() function applies a given function to each item of an iterable (like a list) and returns a map object (an iterator). Syntax: map(function, iterable) Example: # Doubling the numbers in a list numbers = [1, 2, 3, 4, 5] doubled = list(ma...Discuss·4 likes·46 readsPython
Md Hamimmdhamim.hashnode.dev·Dec 28, 2023Effortless API Documentation: Accelerating Development with FastAPI, Swagger, and ReDocFastAPI is a modern, fast web framework for building APIs with Python 3.7+ that automatically generates OpenAPI and JSON Schema documentation. While FastAPI simplifies API development, manually creating and updating API documentation can still be a t...Discuss·1 like·31 readsFastAPI
DevBitBytedevbitbyte.hashnode.dev·Dec 6, 2023How to write JavaScript map, filter and reduce array methods from scratchmap A method that runs the provided function on every item of an array and returns a new array. const numbers = [ 1, 2, 3 ] const doubleNumbers = numbers.map((num) => num * 2) console.log(doubleNumbers) // Output // [ 2, 4, 6 ] map basic implemen...Discuss·1 like·41 readsJavascript Mini Challenges & ProjectsJavaScript
Amit Chaudharyamitsblog.hashnode.dev·May 28, 2023What is composition and pipe in JavaScript functional programmingPrerequisite - you must have good knowledge of reduce and reduceRight methods of the array in JavaScript and how they work under the hood. If you know about the reduce and reduceRight , please click here composition- When talking about function compo...Discuss·75 readsJavaScript
Jayraj Singhjayrajblog.hashnode.dev·May 19, 2023Mastering JavaScript's Powerful Trio: Filter(), Map(), and Reduce() Methods for Effortless Data Manipulation!Introduction: In the vast world of JavaScript, there are several powerful tools at our disposal to simplify and streamline data manipulation. Among these tools are the map, reduce, and filter methods. These three methods, which are built-in features ...Discuss·2 likes·88 readsJavaScript
Elias Soykatelias-soykat.hashnode.dev·May 8, 2023Array.prototype.reduce, most versatile array method in javascriptArrays are an essential data structure in JavaScript that provide developers with a flexible and efficient way of storing and manipulating collections of data. Among the many methods available for manipulating arrays in JavaScript, the reduce() metho...Discuss·128 readsJavaScript
Abner Kallilabnerkallildev.hashnode.dev·Mar 25, 2023Harnessing the Power of Array Reduce(): A Beginner's GuideArrays are a fundamental data structure in JavaScript that allow us to store and manipulate collections of data. However, working with arrays can often be challenging and time-consuming, especially when we need to perform complex operations on the da...Discuss·96 readsJavaScript
haresh lakhwanidailylearn.hashnode.dev·Mar 22, 2023Map, Filter, and Reduce in JavaScriptIn this blog, we are going to learn about map filters and reduce functions in javascript.map, filter and reduce all three are higher-order functions means all three accept another function as an argument. map: map function is used for the transforma...haresh lakhwani and 1 other are discussing this2 people are discussing thisDiscuss·58 likes·269 readsJavaScript