Tag

Functional Programming

0 views collected around this technical thread.

Java Captain
Java Captain
Jun 11, 2025 · Backend Development

Master Java Stream API: From Basics to Advanced Operations

This comprehensive guide explains the Java Stream API, covering its purpose, creation methods, intermediate and terminal operations, and the Optional class, with clear examples and code snippets to help developers write cleaner, more efficient functional-style code.

Functional ProgrammingJavaOptional
0 likes · 22 min read
Master Java Stream API: From Basics to Advanced Operations
Test Development Learning Exchange
Test Development Learning Exchange
Jun 6, 2025 · Fundamentals

Unlock Python’s Power: 8 Essential functools Tools You Must Know

Explore the Python functools module’s most useful utilities—including reduce, partial, lru_cache, wraps, total_ordering, cmp_to_key, singledispatch, and cache—through clear explanations and practical code examples that demonstrate how each tool can simplify functional programming and improve code efficiency.

CachingFunctional ProgrammingPython
0 likes · 6 min read
Unlock Python’s Power: 8 Essential functools Tools You Must Know
Test Development Learning Exchange
Test Development Learning Exchange
Jun 5, 2025 · Fundamentals

Master Python Higher-Order Functions: Real-World Examples & Tips

Learn what higher-order functions are in Python, how they can accept or return other functions, explore built-in examples like map, filter, sorted, reduce, and see custom implementations and lambda integrations through clear code snippets and practical usage tips.

FilterFunctional ProgrammingHigher-order Functions
0 likes · 5 min read
Master Python Higher-Order Functions: Real-World Examples & Tips
Architect's Guide
Architect's Guide
May 19, 2025 · Backend Development

Refactoring Data Validation with Java 8 Functional Interfaces and Lambda Expressions

This article demonstrates how to use Java 8's Function and SFunction functional interfaces together with lambda expressions to abstract and reuse data‑validation logic, dramatically reducing repetitive code, improving readability, and enabling flexible, generic validation across various backend entities.

Functional ProgrammingJavaMyBatis
0 likes · 13 min read
Refactoring Data Validation with Java 8 Functional Interfaces and Lambda Expressions
Architect's Tech Stack
Architect's Tech Stack
May 15, 2025 · Backend Development

Understanding Java Stream API: filter, map, flatMap, and Parallel Operations

This article explains how Java's Stream API enables efficient data processing through pipeline operations such as filter, map, flatMap, stream creation methods, conversion to collections, and parallel execution, providing code examples and practical usage guidelines.

Functional ProgrammingJavaParallelism
0 likes · 11 min read
Understanding Java Stream API: filter, map, flatMap, and Parallel Operations
Java Captain
Java Captain
Apr 29, 2025 · Fundamentals

Java Stream API: Concepts, Operations, and Practical Examples

This article introduces the concept and benefits of Java Stream programming, explains its core features such as lazy evaluation, parallel processing, and functional style, and provides detailed examples of creating streams, common intermediate and terminal operations, and practical use cases for data manipulation.

Data TransformationFunctional ProgrammingJava
0 likes · 34 min read
Java Stream API: Concepts, Operations, and Practical Examples
Top Architect
Top Architect
Apr 26, 2025 · Backend Development

Understanding Java 8 Stream API with Practical PO Examples

This article introduces Java 8 Stream API, explains its core operations such as filter, map, sorted, forEach, collect, statistics, and parallelStream, and demonstrates their usage with a UserPo class through comprehensive code examples, while also noting unrelated promotional offers.

Code ExampleFunctional ProgrammingJava
0 likes · 11 min read
Understanding Java 8 Stream API with Practical PO Examples
Code Mala Tang
Code Mala Tang
Apr 22, 2025 · Fundamentals

Unlock Python’s itertools: The Swiss‑Army Knife for Efficient Data Pipelines

This article introduces Python’s built‑in itertools module, explains its infinite, finite, and combinatorial iterator utilities, demonstrates advanced techniques like grouping and pipeline construction, and compares its lazy evaluation memory benefits to traditional list comprehensions for large‑scale data processing.

Data ProcessingFunctional ProgrammingIterator
0 likes · 10 min read
Unlock Python’s itertools: The Swiss‑Army Knife for Efficient Data Pipelines
Python Programming Learning Circle
Python Programming Learning Circle
Apr 22, 2025 · Fundamentals

Why and How to Avoid Writing For Loops in Python

The article explains why you should challenge yourself to avoid explicit for loops in Python and demonstrates how to replace them with list comprehensions, generator expressions, map/reduce, and itertools, resulting in shorter, more readable, and better‑structured code.

Functional ProgrammingGeneratorPython
0 likes · 7 min read
Why and How to Avoid Writing For Loops in Python
IT Services Circle
IT Services Circle
Apr 12, 2025 · Fundamentals

MoonBit Language: Ten Key Features

MoonBit is an AI‑native, general‑purpose programming language that blends Rust and Scala concepts, offering garbage collection, WebAssembly compilation, rich type system, pattern matching, traits, operator overloading, testing support, and functional programming features, illustrated through a chess‑board modeling example.

Code ExampleFunctional ProgrammingMoonBit
0 likes · 18 min read
MoonBit Language: Ten Key Features
Architect's Guide
Architect's Guide
Apr 12, 2025 · Backend Development

Refactoring Data Validation with Java 8 Functional Interfaces

This article demonstrates how Java 8's functional interfaces, especially Function and SFunction, can be used to abstract and reuse data‑validation logic, dramatically reducing boilerplate code, improving readability, and making validation rules easier to maintain and extend.

Functional ProgrammingJavaMyBatis-Plus
0 likes · 12 min read
Refactoring Data Validation with Java 8 Functional Interfaces
Java Tech Enthusiast
Java Tech Enthusiast
Apr 7, 2025 · Game Development

Ten Key Features of MoonBit Language with a Chess Board Example

MoonBit is an AI‑native, garbage‑collected language that blends Rust’s performance with Scala‑style functional features, offering enums, trait derivation, pattern matching, operator overloading, testing, and WebAssembly compilation, demonstrated through a chess‑board example showcasing its modern type system and tooling.

Chess ModelingFunctional ProgrammingMoonBit
0 likes · 18 min read
Ten Key Features of MoonBit Language with a Chess Board Example
php中文网 Courses
php中文网 Courses
Apr 7, 2025 · Fundamentals

Understanding Python Anonymous Functions (lambda) – Features, Use Cases, and Best Practices

This article explains Python's anonymous (lambda) functions, covering their syntax, characteristics, basic usage examples, common application scenarios such as map, filter, reduce, sorting, GUI event handling, advantages and disadvantages, best practices, and comparisons with regular def functions.

Anonymous FunctionFunctional ProgrammingPython
0 likes · 8 min read
Understanding Python Anonymous Functions (lambda) – Features, Use Cases, and Best Practices
Code Mala Tang
Code Mala Tang
Apr 5, 2025 · Fundamentals

How to Write Loop-Free Python Code: Faster, Cleaner Alternatives

This article explains why traditional Python loops can hurt performance and readability, and demonstrates six loop‑free techniques—including list comprehensions, map/filter, built‑in functions like sum/max/min, NumPy vectorization, generators, and dictionary/set comprehensions—providing concise, faster, and more Pythonic code examples.

Functional ProgrammingGeneratorNumPy
0 likes · 10 min read
How to Write Loop-Free Python Code: Faster, Cleaner Alternatives
php中文网 Courses
php中文网 Courses
Apr 3, 2025 · Fundamentals

Understanding Higher-Order Functions in Python

This article explains Python's higher-order functions, covering their definition, how they can accept or return other functions, built-in examples like map, filter, reduce, and demonstrates custom higher-order functions, closures, and decorators with practical code snippets.

ClosuresFilterFunctional Programming
0 likes · 6 min read
Understanding Higher-Order Functions in Python
Sohu Tech Products
Sohu Tech Products
Mar 5, 2025 · Frontend Development

Why Modern JavaScript Developers Move Away from Traditional Loops and What to Use Instead

Modern JavaScript developers increasingly replace traditional for‑loops with expressive array methods, generators, and functional patterns because loops risk scope leakage, mutable state, and off‑by‑one errors, while still using classic loops only for performance‑critical or low‑level tasks, choosing the style that fits data size, team preferences, and project requirements.

Array MethodsFunctional ProgrammingGenerators
0 likes · 8 min read
Why Modern JavaScript Developers Move Away from Traditional Loops and What to Use Instead
Test Development Learning Exchange
Test Development Learning Exchange
Mar 2, 2025 · Fundamentals

Understanding Python Anonymous Functions (Lambda) with Practical Examples

This article introduces Python's anonymous (lambda) functions, explains their syntax and typical use cases, and provides a series of clear code examples—including calculations, map/filter/sorted operations, reduce, callbacks, and string formatting—while highlighting important considerations for readability and limitations.

Anonymous FunctionFunctional Programmingcode examples
0 likes · 11 min read
Understanding Python Anonymous Functions (Lambda) with Practical Examples
IT Services Circle
IT Services Circle
Mar 1, 2025 · Frontend Development

Why Modern JavaScript Developers Avoid Traditional Loops and What to Use Instead

The article explains why traditional JavaScript for‑loops are increasingly avoided, outlines modern alternatives such as array methods, generators, transducers and observables, presents performance benchmark findings, and offers guidance on when each iteration technique is appropriate for developers.

Array MethodsFunctional ProgrammingGenerators
0 likes · 7 min read
Why Modern JavaScript Developers Avoid Traditional Loops and What to Use Instead
Code Ape Tech Column
Code Ape Tech Column
Feb 24, 2025 · Backend Development

Using Java 8 Functional Interfaces to Refactor Data Validation and Reduce Duplicate Code

This article demonstrates how Java 8’s functional interfaces, such as Function and SFunction, can be leveraged to refactor repetitive data validation logic, introducing generic methods like ensureColumnValueValid and validateColumnValueMatchesExpected that improve code reuse, readability, and maintainability in backend services.

Functional ProgrammingJavabackend development
0 likes · 14 min read
Using Java 8 Functional Interfaces to Refactor Data Validation and Reduce Duplicate Code
Architect's Guide
Architect's Guide
Feb 24, 2025 · Backend Development

Using Java Optional to Prevent NullPointerException

This article introduces Java 8's Optional class, explains its creation methods and common operations such as get, isPresent, ifPresent, filter, map, flatMap, orElse, orElseGet, orElseThrow, and shows practical usage scenarios and best‑practice recommendations for handling null values in backend code.

Functional ProgrammingJavaJava8
0 likes · 15 min read
Using Java Optional to Prevent NullPointerException