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
Uffa Modeyfafacodes.hashnode.dev·Feb 22, 202410 Python Techniques for Text Manipulation1. Processing a string one character at a time To process a string one character at a time, you can use the map built-in function in Python to make every string character be processed using a predefined function. For example, if we have a function ca...Discuss·10 likes·49 readsmanipulating text
Keerthivardhankeerthivardhan.hashnode.dev·Feb 12, 2024JavaScript Before React (Part-1)I firmly believe that this will be the final article you'll need to read on this topic. These topics are essential prerequisites before delving into React. Once you've absorbed and practiced the content here, your comprehension of React will undoubte...Discuss·38 readsjavascript Essential
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·41 readsPython
Rojesh Shresthathenewbie.hashnode.dev·Jan 12, 2024Mastering JavaScript Array: Discussion on methods of arrayArray is a fundamental data structure used to store data of the same datatype under the same variable name. But JavaScript allows more flexibility compared to some other languages. Example of an array with different data types in JavaScript: const mi...DiscussflatMap
Rayane TOKOrayanetoko.hashnode.dev·Dec 20, 2023The method filterIntroduction The filter method is a powerhouse in JavaScript, allowing you to selectively extract elements from an array based on specific criteria. Let's dive in and demystify the filter method through practical examples and hands-on exercises. Unde...Discuss·1 likeJavascript array methods: How it works?array filter
Yaseer Tasleemyaseer-tasleem.hashnode.dev·Dec 20, 2023Polyfill for Array filter() Method in JavaScriptIntroduction In the realm of JavaScript, array manipulation is a cornerstone of coding. The filter() method, a powerful tool for refining arrays, often takes center stage. Ever wondered how this method works under the hood? This article unravels the ...DiscussJavaScript
Amir Hossein Babaeianchaincloud.hashnode.dev·Dec 14, 2023Enhancing Data Retrieval with Filter Expressions in DynamoDB and TypeScriptAs a developer working with AWS DynamoDB, it's crucial to leverage the capabilities of the service to not only store massive amounts of data but also retrieve it efficiently. While DynamoDB’s ‘Scan’ and ‘Query’ operations provide you with the tools t...Discusstypesc
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
Saiful Alamblog.msar.me·Nov 24, 2023Laravel Filter Query Using PipelineIn our application sometimes we provide the search and filter functionality to the user. In this article, we will see how we can filter the data using the pipeline in Laravel. What is Pipeline? Pipeline is a design pattern that allows us to pass an o...Discuss·55 readsLaravelPipeline Design Pattern