Tagged articles
45 articles
Page 1 of 1
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 5, 2025 · Fundamentals

Master Kotlin’s inline, crossinline, and noinline: Boost Performance and Control Flow

Explore how Kotlin’s inline, crossinline, and noinline modifiers transform lambda handling, eliminate object creation overhead, enable non‑local returns, and control function expansion, with detailed code examples comparing Java anonymous classes, Kotlin lambdas, bytecode, and practical usage scenarios.

Higher-Order FunctionsInlineKotlin
0 likes · 11 min read
Master Kotlin’s inline, crossinline, and noinline: Boost Performance and Control Flow
Code Wrench
Code Wrench
Sep 28, 2025 · Backend Development

Mastering Higher-Order Functions in Go: Decorators, Strategies, and Pipelines

This article explains Go's higher‑order functions, covering their definition, common use‑cases such as decorators, strategy and pipeline patterns, practical implementation details, generic support, and tips for writing clean, performant functional code in real‑world projects.

DecoratorHigher-Order FunctionsStrategy Pattern
0 likes · 7 min read
Mastering Higher-Order Functions in Go: Decorators, Strategies, and Pipelines
Python Programming Learning Circle
Python Programming Learning Circle
Aug 30, 2025 · Fundamentals

Unlock Python’s First-Class Functions: From Basics to Advanced Functional Tricks

This article explains how Python treats functions as first‑class objects, showing how to assign them to variables, pass them as arguments, return them from other functions, store them in data structures, and use functional tools like lambda, map, filter, and reduce to write more reusable and expressive code.

First-Class FunctionsHigher-Order FunctionsPython
0 likes · 10 min read
Unlock Python’s First-Class Functions: From Basics to Advanced Functional Tricks
Test Development Learning Exchange
Test Development Learning Exchange
May 25, 2025 · Fundamentals

Understanding Python's functools.partial: Syntax, Benefits, and Practical Examples

This article explains what Python's functools.partial is, shows its basic syntax, outlines its advantages such as reducing code duplication and improving readability, and provides multiple practical code examples—including simple addition, keyword arguments, complex use cases, comparisons with lambda, and real‑world applications in GUI and multithreading contexts.

Higher-Order FunctionsPythoncode-reuse
0 likes · 7 min read
Understanding Python's functools.partial: Syntax, Benefits, and Practical Examples
php Courses
php Courses
Apr 8, 2025 · Fundamentals

Understanding Python Closures and Decorators

This article explains Python closures and decorators, detailing their definitions, formation conditions, practical examples, common use cases, and how decorators rely on closures, while providing code snippets for counters, timing, and repeatable execution.

DecoratorFunction WrappingHigher-Order Functions
0 likes · 14 min read
Understanding Python Closures and Decorators
Test Development Learning Exchange
Test Development Learning Exchange
Mar 3, 2025 · Fundamentals

Understanding Function Calls and References in Python

This article explains the core concepts of function calls and references in Python, covering basic definitions, common calling methods, advanced applications such as passing functions as arguments, returning functions, using functions as objects, and includes numerous code examples illustrating direct calls, indirect calls, decorators, closures, and callbacks.

Function CallsFunction ReferencesHigher-Order Functions
0 likes · 9 min read
Understanding Function Calls and References in Python
Python Crawling & Data Mining
Python Crawling & Data Mining
Dec 26, 2024 · Fundamentals

Understanding How Python Passes Functions Without Parentheses

This article explains why assigning a function to a variable without parentheses doesn’t invoke it, how to pass functions as arguments in Python, and demonstrates the concept with a Prisoner’s Dilemma code example, clarifying common misconceptions about function calls and references.

DebuggingHigher-Order FunctionsPython
0 likes · 6 min read
Understanding How Python Passes Functions Without Parentheses
php Courses
php Courses
Nov 20, 2024 · Backend Development

Function Object Programming (FOP) in PHP: Compatibility with OOP and Practical Example

Function Object Programming (FOP) in PHP treats functions as first‑class objects, fully compatible with OOP, enabling reusable, extensible code; the article explains its concepts, shows a practical example using array_map, discusses cross‑platform support, and outlines its advantages such as reusability, scalability, and cleaner code.

Function ObjectsHigher-Order FunctionsOOP Compatibility
0 likes · 3 min read
Function Object Programming (FOP) in PHP: Compatibility with OOP and Practical Example
php Courses
php Courses
Oct 31, 2024 · Backend Development

Function Object Programming in PHP: Concepts, Advantages, and Practical Examples

Function Object Programming (FOP) in PHP leverages the Closure class to treat functions as first‑class objects, offering code reuse, modularity, performance gains, and testability, with examples of creating, invoking, and applying closures in higher‑order functions and callbacks.

Backend DevelopmentFunction ObjectsHigher-Order Functions
0 likes · 4 min read
Function Object Programming in PHP: Concepts, Advantages, and Practical Examples
Python Programming Learning Circle
Python Programming Learning Circle
Aug 17, 2024 · Fundamentals

Introduction to Functional Programming in Python

This article introduces functional programming techniques in Python, covering first‑class functions, treating functions as objects, higher‑order functions, lambda expressions, and built‑in utilities like map, filter, and reduce, with clear code examples and explanations of their practical uses.

Higher-Order FunctionsLambdaMap Filter Reduce
0 likes · 10 min read
Introduction to Functional Programming in Python
Ops Development & AI Practice
Ops Development & AI Practice
May 13, 2024 · Fundamentals

Unlocking Go's Power: Master Higher-Order Functions with Real Code

Go treats functions as first‑class citizens, enabling higher‑order functions that accept other functions as arguments or return them, and this article explains their definition, demonstrates practical examples—including callbacks, closures, and functional‑style map/filter operations—while highlighting common use cases such as decorators and event handling.

GoHigher-Order Functions
0 likes · 5 min read
Unlocking Go's Power: Master Higher-Order Functions with Real Code
Test Development Learning Exchange
Test Development Learning Exchange
Jan 16, 2024 · Fundamentals

Functional Programming in Python: Concepts and Code Examples

This article introduces functional programming concepts in Python, explaining pure functions, higher‑order functions, and function composition, and demonstrates ten practical examples—including map, filter, reduce, list comprehensions, generators, partial application, operator usage, compose, zip, and recursion—to illustrate how to write concise, maintainable code.

Higher-Order FunctionsPython
0 likes · 5 min read
Functional Programming in Python: Concepts and Code Examples
Test Development Learning Exchange
Test Development Learning Exchange
Nov 20, 2023 · Fundamentals

Higher-Order Functions and Function Composition in Python with 10 Practical Examples

This article explains the core concepts of higher-order functions and function composition in functional programming, defines them, and provides ten practical Python code examples illustrating usage as parameters, return values, composition, and common utilities such as map, filter, reduce, list comprehensions, and functools.partial.

Higher-Order FunctionsMAPPython
0 likes · 4 min read
Higher-Order Functions and Function Composition in Python with 10 Practical Examples
JD Cloud Developers
JD Cloud Developers
May 18, 2023 · Fundamentals

Master Functional Programming in JavaScript: Currying, Pipe, Compose

This article introduces functional programming fundamentals, showcases common JavaScript scenarios like map/filter/reduce, explains key concepts such as first‑class functions, laziness, pure functions, currying, pipe, and compose, and demonstrates their practical application in a real‑world AgileBI report‑cell configuration system.

ComposeCurryingHigher-Order Functions
0 likes · 9 min read
Master Functional Programming in JavaScript: Currying, Pipe, Compose
Meituan Technology Team
Meituan Technology Team
Oct 27, 2022 · Fundamentals

An Introduction to Functional Programming in JavaScript

This article offers a concise introduction to functional programming’s history, core concepts such as currying, composition, and immutability, and demonstrates their implementation in JavaScript using arrow functions and utilities like curry, compose, pipe, and map, while comparing functional and object‑oriented approaches.

CurryingHigher-Order FunctionsJavaScript
0 likes · 21 min read
An Introduction to Functional Programming in JavaScript
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 27, 2022 · Frontend Development

Understanding Closures and Currying in JavaScript: Functional Programming Essentials

This article explains how closures and currying form the core of JavaScript functional programming, demonstrates multiple curry implementations, shows practical uses such as argument caching, debounce/throttle, and lodash utilities, and highlights their relevance for front‑end developer interviews.

CurryingDebounceHigher-Order Functions
0 likes · 14 min read
Understanding Closures and Currying in JavaScript: Functional Programming Essentials
IT Services Circle
IT Services Circle
Aug 13, 2022 · Fundamentals

The Rise and Benefits of Functional Programming in Modern Software Development

Functional programming, once a niche paradigm, is rapidly entering mainstream software development as teams adopt pure functions, immutability, and higher‑order functions to reduce bugs, improve modularity, and manage the growing complexity of large codebases across many languages and frameworks.

Higher-Order FunctionsProgramming ParadigmsPure Functions
0 likes · 11 min read
The Rise and Benefits of Functional Programming in Modern Software Development
MaGe Linux Operations
MaGe Linux Operations
Aug 8, 2022 · Backend Development

Can Go’s New Generics Unlock Functional Programming?

This article explores how Go 1.18’s generic type parameters enable functional programming features such as higher‑order functions, lazy evaluation, and partial application, while also highlighting the limitations and design compromises that arise from Go’s type system and language ergonomics.

GenericsGoHigher-Order Functions
0 likes · 27 min read
Can Go’s New Generics Unlock Functional Programming?
Python Programming Learning Circle
Python Programming Learning Circle
May 20, 2022 · Fundamentals

Introduction to Functional Programming in Python

This article introduces Python's functional programming features, covering first‑class functions, callable objects, storing functions in data structures, higher‑order functions, nested functions, lambda expressions, and the use of map, filter, and reduce with clear code examples.

First-Class FunctionsHigher-Order FunctionsLambda
0 likes · 9 min read
Introduction to Functional Programming in Python
Continuous Delivery 2.0
Continuous Delivery 2.0
Apr 9, 2022 · Fundamentals

Using Higher-Order Functions to Simplify Collection Loops

The article explains how higher‑order functions such as every, map, and filter can replace repetitive loops over arrays or lists, reducing code duplication, improving readability, and lowering the chance of bugs while warning against over‑using functional style when it harms clarity.

Higher-Order FunctionsJavaScriptLoops
0 likes · 3 min read
Using Higher-Order Functions to Simplify Collection Loops
Python Programming Learning Circle
Python Programming Learning Circle
Oct 9, 2021 · Fundamentals

Introduction to Functional Programming in Python

This article provides a beginner-friendly overview of functional programming concepts in Python, covering first‑class functions, callable objects, higher‑order functions, lambda expressions, and the use of map, filter, and reduce with illustrative code examples.

First-Class FunctionsHigher-Order FunctionsLambda
0 likes · 10 min read
Introduction to Functional Programming in Python
Python Programming Learning Circle
Python Programming Learning Circle
Jun 24, 2021 · Fundamentals

Understanding Functional Programming in Python: Concepts, Examples, and Techniques

This article explains functional programming concepts in Python, contrasting imperative and functional models, and demonstrates key techniques such as recursion, laziness, map, filter, reduce, lambda expressions, higher‑order functions, partial application, and comprehensions with clear code examples.

Higher-Order FunctionsLambdaMAP
0 likes · 15 min read
Understanding Functional Programming in Python: Concepts, Examples, and Techniques
ELab Team
ELab Team
Jun 16, 2021 · Fundamentals

Why Functional Programming Matters for Front‑End Developers and How to Use It

This article explains functional programming as a paradigm focused on pure functions and data‑to‑data mapping, contrasts it with imperative programming, introduces lambda calculus, pure functions, higher‑order functions, functors, monads, and provides JavaScript examples that show how to write composable, side‑effect‑free code for front‑end development.

Higher-Order FunctionsJavaScriptMonads
0 likes · 19 min read
Why Functional Programming Matters for Front‑End Developers and How to Use It
vivo Internet Technology
vivo Internet Technology
Jun 9, 2021 · Frontend Development

Understanding Observable in Rx Programming with Higher‑Order Functions

The article explains that an Observable in Rx is a higher‑order function acting like a “parcel box” which, when subscribed, delivers a stream of data and can be merged or unsubscribed, using examples such as fromEvent, interval, and merge to illustrate unified asynchronous handling.

Higher-Order FunctionsSubscribeUnsubscribe
0 likes · 11 min read
Understanding Observable in Rx Programming with Higher‑Order Functions
Sohu Tech Products
Sohu Tech Products
Apr 7, 2021 · Fundamentals

Functional Programming in Swift: Concepts, Benefits, and Practical Examples

This article explains functional programming concepts, their importance, and how to apply them in Swift through high‑order functions, lazy evaluation, custom operators, and composable image‑filter pipelines, while also addressing common pitfalls such as nested callbacks and OCP violations.

Higher-Order FunctionsLazy EvaluationRxSwift
0 likes · 19 min read
Functional Programming in Swift: Concepts, Benefits, and Practical Examples
vivo Internet Technology
vivo Internet Technology
Sep 18, 2019 · Fundamentals

Functional Programming in JavaScript: Theory, History, and Key Concepts

The article surveys functional programming’s origins, from Hilbert and Church to lambda calculus, explains its pure‑computation model versus imperative state mutation, outlines essential concepts such as currying, higher‑order functions, and immutability, discusses JavaScript‑specific practices and limitations, and notes the growing impact of functional ideas in modern front‑end frameworks.

Higher-Order FunctionsPure Functionsimmutability
0 likes · 24 min read
Functional Programming in JavaScript: Theory, History, and Key Concepts
NetEase Game Operations Platform
NetEase Game Operations Platform
Apr 27, 2019 · Frontend Development

Functional Programming in JavaScript: Refactoring User List Processing

This article demonstrates how to apply functional programming concepts in JavaScript by refactoring an example that reads user data from an API, filters active SREs, and formats output, illustrating the benefits of pure functions, higher‑order utilities like map, filter, reduce, and improved code readability and maintainability.

Higher-Order FunctionsMAPPure Functions
0 likes · 22 min read
Functional Programming in JavaScript: Refactoring User List Processing
UC Tech Team
UC Tech Team
Nov 13, 2018 · Fundamentals

Understanding Higher-Order Functions in JavaScript

This article explains what higher‑order functions are, why JavaScript supports functional programming, demonstrates built‑in methods like map, filter and reduce with code examples, and shows how to create your own higher‑order function for clearer, more concise code.

Higher-Order FunctionsJavaScriptMAP
0 likes · 8 min read
Understanding Higher-Order Functions in JavaScript
MaGe Linux Operations
MaGe Linux Operations
Jun 1, 2018 · Fundamentals

Master Python Functions: Definitions, Calls, Parameters, and Advanced Techniques

This article provides a comprehensive guide to Python functions, covering their definition syntax, calling conventions, parameter handling (including default, *args, **kwargs), return values, variable scope, anonymous lambda functions, and higher‑order utilities such as map, reduce, filter, and sorted, with clear code examples.

Higher-Order FunctionsLambdaMAP
0 likes · 10 min read
Master Python Functions: Definitions, Calls, Parameters, and Advanced Techniques
MaGe Linux Operations
MaGe Linux Operations
May 29, 2018 · Fundamentals

Master Python’s functools: Decorators, Partial, Caching, and More

This article introduces Python’s functools module, explaining how decorators, partial objects, update_wrapper, total_ordering, cmp_to_key, lru_cache, reduce, and singledispatch work, and provides clear code examples that demonstrate their practical use in everyday programming.

Higher-Order Functionscachingdecorators
0 likes · 19 min read
Master Python’s functools: Decorators, Partial, Caching, and More
Meituan Technology Team
Meituan Technology Team
Oct 12, 2017 · Frontend Development

Managing Software Complexity with Abstraction, Composition, and Functional Programming in Redux/React

By using abstraction to model common concepts and composition to build complex behavior from simple, pure‑function building blocks like map, filter, and reduce, the article shows how functional programming techniques underpin Redux and React, providing a systematic way to tame front‑end software complexity.

Higher-Order FunctionsReactRedux
0 likes · 22 min read
Managing Software Complexity with Abstraction, Composition, and Functional Programming in Redux/React
Taobao Frontend Technology
Taobao Frontend Technology
Mar 16, 2017 · Frontend Development

Unlocking JavaScript Functional Programming: Practical Patterns and Pitfalls

JavaScript functional programming, once a niche topic, has surged in popularity since ES6, and this article explores practical implementations—showcasing functional code versus traditional approaches, benefits like clearer semantics and reusability, common models such as closures, higher‑order functions, currying, and composition, plus optimization techniques.

CurryingHigher-Order FunctionsJavaScript
0 likes · 12 min read
Unlocking JavaScript Functional Programming: Practical Patterns and Pitfalls