Samuel Wekesamuelweke.hashnode.net·Apr 21, 2021A Beginner’s Guide to Closures in JavaScriptOne of JavaScript’s most valuable features is closures. This feature allows developers to create self-contained functions with access to their surrounding context in a particular code. When appropriately implemented, closures can improve code quality...303 likes·245 readsFunctional Programming
Tapas Adhikaryatapas.hashnode.net·Dec 28, 2021FeaturedHigher-Order Functions(HoF) in JavaScript - Explain Like I'm FiveJavaScript Functions Functions are an integral part of many programming languages, and JavaScript is not an exception. In JavaScript, functions are the first-class citizens. You create them, assign them as a value, pass them as arguments to other fun...212 likes·7.0K readsJavaScript
Sayuri Kamblesayurikamble.hashnode.net·Feb 23, 2021Introduction to Functional ProgrammingIn Functional Programing, we want express our whole program in terms of functions. Functional Programing is Declarative. Which means we focus more on what to do instead of How to do First lets understand why Functional Programming is so important. ...171 likes·4.4K readsFunctional Programming
Rohit Mehtar0hitm.hashnode.net·Apr 25, 2023Lexical Scoping: The Essential Concept for All ProgrammersProgramming languages provide us with a set of tools to work with data, perform operations on it, and automate various tasks. Two of the most important concepts in programming are lexical scoping and closures. These concepts are closely related and p...lexical scope
Yadukrishnanyadukrishnan.hashnode.net·Apr 23, 2023Error Handling in Cats Effect [Part-9]1. Introduction This is another part of the Cats Effect 3 series. In this short part, let's look at some of the ways to handle errors in Cats Effect 3. 2. Raising an Error Firstly, let's see how we can raise an error in CE. We can create a failed IO ...Scala: Cats Effectcats
Mohamed Elzomorzomor.hashnode.net·Apr 21, 2023Functional programming in Java: StreamsFirst article: https://zomor.hashnode.dev/functional-programming-in-java Second article: https://zomor.hashnode.dev/functional-programming-in-java-concepts Third article: https://zomor.hashnode.dev/functional-programming-in-java-functions In this las...Functional Programming
Elucian Moisesagecode.hashnode.net·Apr 16, 2023Rust FunctionsIn computer science, a function is a self-contained block of code that performs a specific task and can be called from other parts of a program. Functions are an important concept in programming because they allow code to be reused and organized in a...1 like·29 readsRust LanguageRust
haresh lakhwanidailylearn.hashnode.net·Apr 15, 2023The Power of Pure Functions: Making Your Code More Predictable and MaintainableIn this blog, we are going to learn about some of the javascript functions related topics that are mainly asked in interviews but we also use these in our day-to-day code. Pure Functions: The function which has no side effects and is given the same ...35 likes·65 readsJavaScript
Nishanth Prabhunishanthprabhu.hashnode.net·Apr 16, 2023Head-First Functional Programming in JavascriptFunctional 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 language, allows for functional programming along with...Functional Programming
Tanisha Jaiswaltanishaaaa.hashnode.net·Apr 16, 2023Functions in DartDart is a modern object-oriented programming language designed to create scalable, robust, and efficient mobile and web applications. One of the essential components of Dart programming is functions, which are self-contained blocks of code that perfo...functions
Mohamed Elzomorzomor.hashnode.net·Apr 15, 2023Functional programming in Java - FunctionsFirst article: https://zomor.hashnode.dev/functional-programming-in-java Second article: https://zomor.hashnode.dev/functional-programming-in-java-concepts As we have elaborated earlier, the functional paradigm has been introduced to Java since Java ...1 likeJava
Kilian Valkhofkilianvalkhof.hashnode.net·Apr 14, 2023A small JavaScript pattern I enjoy usingThere is a JavaScript pattern that I enjoy using that I don’t see a lot around the web, so I figured it would be worth sharing. When you have a piece of business logic, frequently that depends on a a certain value being true. An if statement: if ( st...5 likesJavaScript
Akinwole Adamadamakinwole.hashnode.net·Apr 13, 2023The Ultimate Guide to Higher-Order Array Functions in JavaScriptIntroduction This article covers everything you need to know about higher-order array functions in Javascript. Why we need them, some built-in functions, and how they make our code less clumsy. They are important in that they help us write maintainab...7 likes·26 readsJavaScript