Tagged articles
259 articles
Page 1 of 3
FunTester
FunTester
Apr 30, 2026 · Backend Development

Understanding Gatherer and Groovy’s Collection Capabilities

The article explains how JDK 24’s Gatherer API extends Java streams with custom intermediate operations, compares its functionality to Groovy’s rich collection methods, and provides concrete Gatherer implementations for slicing, fixed and sliding windows, folding, and subsequence detection, complete with runnable code examples.

CollectionGathererGroovy
0 likes · 16 min read
Understanding Gatherer and Groovy’s Collection Capabilities
Coder Trainee
Coder Trainee
Mar 1, 2026 · Backend Development

Using Java Optional to Eliminate NullPointerException

The article explains how Java 8's Optional class can prevent NullPointerException by introducing common methods such as empty, of, isPresent, orElse, orElseGet, and orElseThrow, and demonstrates their usage with a complete code example and its output.

functional programmingjava8nullpointerexception
0 likes · 4 min read
Using Java Optional to Eliminate NullPointerException
php Courses
php Courses
Feb 25, 2026 · Fundamentals

Can Functional Pipelines Transform Regex Construction? A Builder Approach

By applying functional and pipeline programming concepts to regex creation, developers can replace unreadable string literals with composable components, enabling clearer, maintainable patterns, dynamic construction, and modular management of character classes, quantifiers, lookaheads, and backreferences, while highlighting the method's strengths and limitations.

Builder PatternCode GenerationPipeline
0 likes · 7 min read
Can Functional Pipelines Transform Regex Construction? A Builder Approach
Data STUDIO
Data STUDIO
Feb 5, 2026 · Fundamentals

9 Underrated Python Libraries That Can Boost Your Development Speed Tenfold

The article introduces nine lesser‑known Python packages—msgspec, glom, watchfiles, beartype, pyinstrument, duckdb, fakeredis, boltons, and returns—explaining how each tackles common prototyping pain points such as data serialization, file watching, runtime type safety, performance profiling, SQL querying without a server, mock Redis, utility functions, and explicit error handling, ultimately accelerating development by up to ten times.

ProfilingPythonSQL
0 likes · 25 min read
9 Underrated Python Libraries That Can Boost Your Development Speed Tenfold
JavaScript
JavaScript
Jan 15, 2026 · Frontend Development

10 Clean Alternatives to If‑Else in JavaScript for Maintainable Code

When traditional if‑else chains become verbose and hard to maintain, JavaScript offers several concise alternatives—including object mapping, Array.includes, ternary chains, logical operators, switch pattern matching, Proxy interception, functional programming, state machines, and decorators—each illustrated with clear code snippets to improve readability and scalability.

Code Refactoringfunctional programmingif-else
0 likes · 3 min read
10 Clean Alternatives to If‑Else in JavaScript for Maintainable Code
AI Frontier Lectures
AI Frontier Lectures
Jan 10, 2026 · Artificial Intelligence

How Monadic Context Engineering Transforms AI Agent Reliability and Scaling

This article examines recent research on Monadic Context Engineering and Recursive Language Models, explaining how monadic abstractions can improve error handling, state management, and parallel execution in AI agents, and how REPL‑based recursive language models address long‑context limitations through divide‑and‑conquer and token‑as‑instruction techniques.

AI agentsContext EngineeringLLM scaling
0 likes · 15 min read
How Monadic Context Engineering Transforms AI Agent Reliability and Scaling
Data STUDIO
Data STUDIO
Dec 25, 2025 · Fundamentals

Boost Python Automation Efficiency with toolz: A Practical Refactoring Guide

This article explains how the pure‑Python functional library toolz can transform tangled automation scripts into clear, composable data pipelines, reducing code size, improving testability, and eliminating hidden technical debt through concrete examples and step‑by‑step refactoring.

AutomationPythondata pipelines
0 likes · 15 min read
Boost Python Automation Efficiency with toolz: A Practical Refactoring Guide
php Courses
php Courses
Dec 18, 2025 · Backend Development

Master PHP Closures: Build Flexible Functions with Anonymous Functions

This article explains PHP closures, showing their basic syntax, how to use them as function arguments, and how to generate dynamic functions at runtime with clear code examples that illustrate creating reusable and adaptable anonymous functions.

anonymous functioncallbackclosure
0 likes · 5 min read
Master PHP Closures: Build Flexible Functions with Anonymous Functions
Open Source Tech Hub
Open Source Tech Hub
Dec 4, 2025 · Backend Development

What PHP’s Partial Function Application RFC Brings to the Language

The RFC introduces Partial Function Application (PFA) for PHP, allowing developers to pre‑bind some arguments of a callable using placeholders like ? and ... which generate a closure that preserves type information, optionality, defaults, and attributes, simplifying pipeline and functional code.

functional programmingpartial function applicationrfc
0 likes · 11 min read
What PHP’s Partial Function Application RFC Brings to the Language
Java Architecture Diary
Java Architecture Diary
Nov 5, 2025 · Fundamentals

Why Scala Has Been Ahead of Java for Over a Decade – A Feature‑by‑Feature Comparison

The article examines the recent push for modern features in Java, contrasts them with Scala implementations that have existed for years, and walks through functional programming, pattern matching, immutable collections, type inference, string interpolation, sealed classes, and concurrency with side‑by‑side code examples in both languages.

Immutable CollectionsScalaconcurrency
0 likes · 17 min read
Why Scala Has Been Ahead of Java for Over a Decade – A Feature‑by‑Feature Comparison
Architecture Digest
Architecture Digest
Oct 30, 2025 · Fundamentals

Transform Java Code with Lambda: From Boilerplate to Elegant Streams

This article explains how Java's lambda expressions and Stream API replace verbose boilerplate with concise, functional code, covering core pain points, simple sorting examples, the three Stream operations, declarative pipelines, advanced concurrency and null‑handling techniques, and a decision guide for when to use lambdas.

Code RefactoringJavaLambda
0 likes · 7 min read
Transform Java Code with Lambda: From Boilerplate to Elegant Streams
Open Source Tech Hub
Open Source Tech Hub
Oct 17, 2025 · Backend Development

7 Real-World PHP 8.5 Pipeline Operator Use Cases That Simplify Your Code

This article showcases seven practical PHP 8.5 pipeline operator examples—from cleaning user input and processing CSV rows to building HTTP responses, preparing search queries, calculating cart totals, enriching logs, and creating image thumbnails—demonstrating how the operator makes code more readable and functional.

Code ExamplesPHPfunctional programming
0 likes · 6 min read
7 Real-World PHP 8.5 Pipeline Operator Use Cases That Simplify Your Code
Open Source Tech Hub
Open Source Tech Hub
Oct 7, 2025 · Backend Development

Discover Phel: Bringing Functional Lisp Power to PHP Development

Phel is a Lisp‑inspired functional programming language for PHP that integrates seamlessly with the PHP ecosystem, offering immutable data structures, a macro system, an interactive REPL, and concise syntax, while providing step‑by‑step installation via Docker or Composer.

ComposerDockerLisp
0 likes · 6 min read
Discover Phel: Bringing Functional Lisp Power to PHP Development
Code Mala Tang
Code Mala Tang
Oct 3, 2025 · Fundamentals

Master Python Closures: Unlock Powerful Function Techniques

This article walks you through Python closures step by step, starting with nested functions, explaining how closures capture outer variables, providing clear code examples, and highlighting practical use cases such as data hiding, factory functions, and decorators to make your code more modular and reusable.

Nested Functionsclosurescode-reuse
0 likes · 5 min read
Master Python Closures: Unlock Powerful Function Techniques
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 2, 2025 · Backend Development

Mastering flatMap in Java: Real-World Spring Boot 3 Examples

This article explains the powerful flatMap operator in Java streams, covering basic usage, Optional handling, replacing nested loops, API response flattening, combining with filter, reactive programming, and a comprehensive end‑to‑end example, all illustrated with Spring Boot 3 code snippets.

JavaSpring BootStreams
0 likes · 11 min read
Mastering flatMap in Java: Real-World Spring Boot 3 Examples
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
Liangxu Linux
Liangxu Linux
Aug 6, 2025 · Fundamentals

Functional vs Imperative Programming in Embedded Systems: When to Choose Which?

This article compares functional and imperative programming for embedded systems, examining testability, maintainability, and performance, and provides C code examples that illustrate the trade‑offs of each paradigm; it also discusses resource constraints, recursion overhead, and how to combine both approaches in practice.

embedded systemsfunctional programmingimperative programming
0 likes · 9 min read
Functional vs Imperative Programming in Embedded Systems: When to Choose Which?
AndroidPub
AndroidPub
Jul 17, 2025 · Fundamentals

Mastering Kotlin’s runCatching: A Cleaner Alternative to try‑catch

This article explores Kotlin’s runCatching function, compares it with traditional try‑catch‑finally, demonstrates its usage with practical code examples, explains the Result type and its methods, and provides best‑practice guidelines for resource management and when to prefer runCatching over classic exception handling.

Exception HandlingKotlinfunctional programming
0 likes · 14 min read
Mastering Kotlin’s runCatching: A Cleaner Alternative to try‑catch
JavaScript
JavaScript
Jul 6, 2025 · Frontend Development

Mastering Array.from: Elegant Ways to Create and Transform Arrays in JavaScript

Learn how to replace cumbersome for-loops with the versatile Array.from method, exploring its map callback to generate numeric sequences, custom objects, deep‑processed arrays, and even alphabet ranges, while seeing practical code examples and tips for clean, functional JavaScript array creation.

Array.fromCode Examplesarray creation
0 likes · 8 min read
Mastering Array.from: Elegant Ways to Create and Transform Arrays in JavaScript
Liangxu Linux
Liangxu Linux
Jun 15, 2025 · Fundamentals

Functional vs Imperative Programming in Embedded Systems: Which Wins?

This article compares functional and imperative (non‑functional) programming approaches for embedded applications, examining testability, maintainability, performance, and resource usage, and provides concrete C code examples illustrating each paradigm’s trade‑offs, helping developers choose the right style for their constraints.

Cembedded systemsfunctional programming
0 likes · 8 min read
Functional vs Imperative Programming in Embedded Systems: Which Wins?
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.

LambdaStream APIfunctional programming
0 likes · 22 min read
Master Java Stream API: From Basics to Advanced Operations
Lin is Dream
Lin is Dream
Jun 9, 2025 · Backend Development

Master Java Stream API: Real‑World Examples Covering 90% of Business Scenarios

This article introduces Java 8 functional programming concepts such as lambda expressions and method references, explains the Stream API, and provides dozens of practical code snippets for querying, grouping, aggregating, sorting, partitioning, and parallel processing of collections, helping developers handle most everyday business logic efficiently.

CollectionsJavaLambda
0 likes · 14 min read
Master Java Stream API: Real‑World Examples Covering 90% of Business Scenarios
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.

JavaStream APIdata transformation
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.

Backend DevelopmentCode ExampleJava
0 likes · 11 min read
Understanding Java 8 Stream API with Practical PO Examples
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.

Code RefactoringLoop Optimizationfunctional programming
0 likes · 7 min read
Why and How to Avoid Writing For Loops in Python
JavaScript
JavaScript
Apr 20, 2025 · Frontend Development

Replace Nested Loops with Elegant JavaScript Array Methods

This article explains how to replace verbose nested for‑loops in JavaScript with functional array methods like flat, map, filter, flatMap, and reduce, improving code readability, maintainability, and often performance for handling multi‑dimensional arrays.

FlatJavaScriptarray methods
0 likes · 4 min read
Replace Nested Loops with Elegant JavaScript Array Methods
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 ExampleMoonBitProgramming Language
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.

BackendJavaLambda
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 ModelingMoonBitProgramming Language
0 likes · 18 min read
Ten Key Features of MoonBit Language with a Chess Board Example
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.

NumPyPythonfunctional programming
0 likes · 10 min read
How to Write Loop-Free Python Code: Faster, Cleaner Alternatives
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.

GeneratorsJavaScriptLoops
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.

Code ExamplesLambdaPython
0 likes · 11 min read
Understanding Python Anonymous Functions (Lambda) with Practical Examples
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.

JavaLambdadata validation
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.

BackendJavafunctional programming
0 likes · 15 min read
Using Java Optional to Prevent NullPointerException
Test Development Learning Exchange
Test Development Learning Exchange
Feb 15, 2025 · Fundamentals

Overview of Common Python Built‑in Functions, itertools, and operator Utilities

This article introduces essential Python built‑in functions such as map, filter, reduce, sorted, any, all, zip, enumerate, and utilities from functools, itertools, and operator modules, providing concise explanations and practical code examples for each to help readers master fundamental programming techniques.

OperatorPythonbuilt-in functions
0 likes · 8 min read
Overview of Common Python Built‑in Functions, itertools, and operator Utilities
Architect
Architect
Jan 15, 2025 · Backend Development

How Java 8 Functional Interfaces Can Eliminate Repetitive Validation Code

This article demonstrates how Java 8’s functional interfaces, especially Function and SFunction, can refactor repetitive data‑validation logic into a generic, reusable method, reducing boilerplate, improving readability, and enabling flexible validation scenarios such as checking column values, matching expected values, and verifying values against allowed lists.

Code RefactoringJavaLambda
0 likes · 14 min read
How Java 8 Functional Interfaces Can Eliminate Repetitive Validation Code
Selected Java Interview Questions
Selected Java Interview Questions
Oct 22, 2024 · Backend Development

Common Java Stream API Programming and Operations

This article introduces Java 8's Stream API, explains how to create streams from collections and arrays, and demonstrates a wide range of intermediate and terminal operations with clear code examples to help developers write concise, efficient, and readable Java code.

Backend DevelopmentCollectionsJava
0 likes · 9 min read
Common Java Stream API Programming and Operations
php Courses
php Courses
Oct 17, 2024 · Backend Development

Common Mistakes to Avoid When Using Closures for Functional Programming in PHP

This article explains functional programming in PHP, highlights five typical closure mistakes such as incorrect declaration, reliance on globals, mutable variable modification, unpredictable side effects, and recursion misuse, and provides corrected code examples and best‑practice guidelines.

Backend DevelopmentPHPbest practices
0 likes · 5 min read
Common Mistakes to Avoid When Using Closures for Functional Programming in PHP
Test Development Learning Exchange
Test Development Learning Exchange
Sep 8, 2024 · Fundamentals

Common Built-in Functions in Python: Type Conversion, Math Operations, Control Flow, Sequence Operations, I/O, and More

This article provides a comprehensive overview of Python's built-in functions, covering type conversion, mathematical operations, control flow utilities, sequence manipulation, input/output handling, common utilities, functional programming tools, memory management, and type checking with clear code examples.

Memory ManagementPythonfunctional programming
0 likes · 8 min read
Common Built-in Functions in Python: Type Conversion, Math Operations, Control Flow, Sequence Operations, I/O, and More
Test Development Learning Exchange
Test Development Learning Exchange
Aug 31, 2024 · Fundamentals

Understanding Python’s map() Function: Syntax, Basic and Advanced Usage with Examples

This article explains Python's built‑in map() function, covering its syntax, basic usage with lambda and regular functions, and advanced scenarios such as handling multiple iterables, dictionaries, strings, conditional filtering, zip, nested lists, and compares it with list comprehensions, providing clear code examples throughout.

Code ExamplesMAPPython
0 likes · 6 min read
Understanding Python’s map() Function: Syntax, Basic and Advanced Usage with Examples
JavaEdge
JavaEdge
Aug 21, 2024 · Fundamentals

Merging Functional Programming with Domain‑Driven Design for Cleaner Architecture

This article explains how to apply functional programming concepts such as composition, monads, and applicatives to Domain‑Driven Design, covering code organization, trust boundaries, state‑machine modeling, and maintaining domain purity while highlighting the benefits and trade‑offs of this approach.

DDDDomain ModelingMonads
0 likes · 9 min read
Merging Functional Programming with Domain‑Driven Design for Cleaner Architecture
Top Architect
Top Architect
Aug 19, 2024 · Backend Development

Using Java 8 Stream API for Collection Processing

This article introduces Java 8's Stream API, explains its functional style for handling collections, demonstrates common operations such as filter, map, sorted, forEach, collect, statistics, and parallelStream with concrete POJO examples, and provides a complete runnable code sample.

CollectionsJavaLambda
0 likes · 10 min read
Using Java 8 Stream API for Collection Processing
Architecture Digest
Architecture Digest
Aug 19, 2024 · Backend Development

Java 8 Functional Interfaces: Simplifying Conditional Logic with Function, Supplier, Consumer, and Runnable

This article explains how Java 8 functional interfaces such as Function, Supplier, Consumer, and Runnable can replace repetitive if‑else statements, providing code examples for exception handling, branch processing, and present‑or‑else logic to improve readability and maintainability in backend development.

Backend DevelopmentException HandlingFunctionalInterface
0 likes · 6 min read
Java 8 Functional Interfaces: Simplifying Conditional Logic with Function, Supplier, Consumer, and Runnable
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
Alibaba Cloud Developer
Alibaba Cloud Developer
Jul 29, 2024 · Fundamentals

Understanding Java Stream: How Lazy Pipelines Transform Collections

This article explains the core principles of Java Stream, covering its three main characteristics, pipeline construction, intermediate and terminal operations with code examples, and how lazy execution and sink generation produce results only when a terminal operation is invoked.

Backend DevelopmentJava 8Lazy Evaluation
0 likes · 10 min read
Understanding Java Stream: How Lazy Pipelines Transform Collections
21CTO
21CTO
Jun 27, 2024 · Fundamentals

Is Gleam the Friendly Functional Language You’ve Been Waiting For?

This article introduces Gleam, a type‑safe functional language that compiles to Erlang and JavaScript, walks through installation, a hello‑world program, package management, pattern matching with algebraic data types, and demonstrates its concurrency‑friendly, null‑free design.

ErlangGleamJavaScript
0 likes · 8 min read
Is Gleam the Friendly Functional Language You’ve Been Waiting For?
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jun 8, 2024 · Backend Development

vowlink: A Lightweight Go Functional Programming Library for Simplifying Complex if‑else Logic

This article introduces vowlink, a Go library that adopts JavaScript‑style Promise concepts to replace tangled if‑else statements with chainable, error‑handled functional constructs, providing a concise, efficient solution for backend developers facing growing business logic complexity.

Promisefunctional programmingif-else optimization
0 likes · 15 min read
vowlink: A Lightweight Go Functional Programming Library for Simplifying Complex if‑else Logic
Ops Development & AI Practice
Ops Development & AI Practice
May 27, 2024 · Fundamentals

Why Structured Programming Alone Falls Short and How OOP & FP Fill the Gaps

The article examines the drawbacks of relying solely on structured programming—such as tight module coupling, poor change isolation, and rigidity—and shows how integrating object‑oriented and functional programming can improve modularity, flexibility, and maintainability in complex software systems.

Programming Paradigmsfunctional programmingobject‑oriented programming
0 likes · 5 min read
Why Structured Programming Alone Falls Short and How OOP & FP Fill the Gaps
Top Architect
Top Architect
Apr 26, 2024 · Backend Development

Comprehensive Guide to Java 8 Stream API with Practical Examples

This article provides an in-depth tutorial on Java 8 Stream API, covering stream creation, intermediate and terminal operations, filtering, mapping, reduction, collection, sorting, grouping, and practical code examples, helping developers master functional programming with streams in Java.

Code ExamplesJavaStream API
0 likes · 24 min read
Comprehensive Guide to Java 8 Stream API with Practical Examples
Java Captain
Java Captain
Mar 25, 2024 · Backend Development

Constructing Streams in Java 8: Methods and Examples

Java 8’s Stream API introduces a declarative, lazy-processing model for collections, and this article details multiple ways to create streams—including from collections, arrays, static factory methods, files, generators, and iterators—providing code examples and explanations to help developers harness its expressive and efficient data‑handling capabilities.

JavaJava 8Lazy Evaluation
0 likes · 5 min read
Constructing Streams in Java 8: Methods and Examples
DaTaobao Tech
DaTaobao Tech
Mar 20, 2024 · Backend Development

Understanding Java Stream Gather API and the mapConcurrent Operator

The article explains Java 22’s new Stream Gather API, which extends the traditional Stream model with custom Gatherers that can emit zero‑to‑many elements, enabling stateful, parallel operations such as a concurrency‑controlled mapConcurrent operator built on virtual threads, and compares it to Reactor‑core and Pekko‑Stream.

Gather APIJavaStream API
0 likes · 14 min read
Understanding Java Stream Gather API and the mapConcurrent Operator
Architecture Digest
Architecture Digest
Feb 21, 2024 · Backend Development

Java 8 Stream API Tutorial with PO Example and Common Operations

This article introduces Java 8's Stream API, explains its pipeline concept similar to SQL and Linux pipes, and demonstrates common operations such as filter, map, sorted, forEach, collect, statistics and parallelStream using a UserPo class with complete runnable code examples.

BackendJavaLambda
0 likes · 9 min read
Java 8 Stream API Tutorial with PO Example and Common Operations
Xuanwu Backend Tech Stack
Xuanwu Backend Tech Stack
Dec 30, 2023 · Backend Development

Unlock Java 8 Streams: Simplify Collections with Powerful Operations

This article introduces Java 8 Stream API, explains how to create streams from collections, demonstrates common intermediate operations such as filter, map, flatMap, limit, skip, distinct, sorted, peek, and shows terminal actions like forEach, count, max, min, findFirst, findAny, and match methods with practical code examples.

CollectionsIntermediate OperationsJava
0 likes · 17 min read
Unlock Java 8 Streams: Simplify Collections with Powerful Operations
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Dec 21, 2023 · Backend Development

Spring WebFlux Functional Endpoints: HandlerFunction, ServerRequest & Response

This article explains how Spring WebFlux's functional programming model uses HandlerFunction, ServerRequest, and ServerResponse to build reactive, immutable HTTP endpoints, covering routing with RouterFunction, request body extraction, response creation, validation, and practical code examples for Java developers.

HandlerFunctionJavaServerRequest
0 likes · 8 min read
Spring WebFlux Functional Endpoints: HandlerFunction, ServerRequest & Response
Java Architect Essentials
Java Architect Essentials
Nov 17, 2023 · Backend Development

10 Java Stream API Best Practices Every Backend Developer Should Know

This article presents ten essential best‑practice guidelines for using Java’s Stream API—covering primitive streams, avoiding nested streams, cautious parallelism, lazy evaluation, side‑effect avoidance, immutability, filter‑before‑map, method references, distinct, and sorted—to help developers write more efficient, readable, and reliable functional code.

BackendStream APIbest practices
0 likes · 8 min read
10 Java Stream API Best Practices Every Backend Developer Should Know
Python Programming Learning Circle
Python Programming Learning Circle
Nov 13, 2023 · Fundamentals

Why You Should Avoid For Loops in Python and Use More Advanced Constructs

The article explains how avoiding explicit for‑loops in Python encourages the use of more expressive constructs such as list comprehensions, generator expressions, map/reduce, and itertools, leading to shorter, more readable, and better‑structured code while showcasing practical examples and best‑practice recommendations.

Code OptimizationPythonfunctional programming
0 likes · 7 min read
Why You Should Avoid For Loops in Python and Use More Advanced Constructs
Java Architect Essentials
Java Architect Essentials
Nov 1, 2023 · Backend Development

Understanding Java 8 Optional API: Methods, Usage, and Practical Examples

This article explains how Java 8's Optional class helps avoid NullPointerException by providing a fluent API—including ofNullable, empty, orElse, map, flatMap, filter, and other methods—along with concrete code examples that demonstrate refactoring traditional null‑check logic into concise, functional style.

Code RefactoringJavafunctional programming
0 likes · 10 min read
Understanding Java 8 Optional API: Methods, Usage, and Practical Examples
Architecture Digest
Architecture Digest
Oct 27, 2023 · Backend Development

10 Essential Java Stream API Tips and Best Practices

This article presents ten practical tips for using the Java Stream API effectively, covering primitive streams for performance, avoiding nested streams, careful use of parallel streams, lazy evaluation, side‑effect avoidance, immutability, proper ordering of filter and map, method references, distinct, and sorted operations, each illustrated with concise code examples.

JavaStream APIbest practices
0 likes · 7 min read
10 Essential Java Stream API Tips and Best Practices
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 26, 2023 · Backend Development

Using Java Lambda Expressions to Simplify Collection Operations

This article explains how Java lambda expressions and the Stream API can replace verbose loops, comparators, and aggregation code with concise, readable functional constructs, covering traversal, sorting, aggregation, optional handling, thread creation, mapping, grouping, and parallel processing of collections.

CollectionsJavaLambda
0 likes · 10 min read
Using Java Lambda Expressions to Simplify Collection Operations
Java Architect Essentials
Java Architect Essentials
Oct 24, 2023 · Backend Development

10 Essential Java Stream API Best Practices

This article presents ten practical Java Stream API best‑practice tips—including using primitive streams, avoiding nested streams, cautious parallelism, lazy evaluation, side‑effect prevention, immutability, proper ordering of filter/map, method references, distinct and sorted usage—to help developers write more efficient, readable, and safe stream code.

Backend DevelopmentJavaStream API
0 likes · 8 min read
10 Essential Java Stream API Best Practices
Java Interview Crash Guide
Java Interview Crash Guide
Oct 17, 2023 · Backend Development

Unlock Java Stream API: 10 Essential Best Practices for High-Performance Code

This article presents ten practical best‑practice tips for using Java's Stream API—covering primitive streams, avoiding nested streams, cautious parallelism, lazy evaluation, side‑effect avoidance, immutability, filter‑before‑map, method references, distinct, and sorted—to write cleaner, more efficient, and maintainable Java code.

JavaStream APIfunctional programming
0 likes · 7 min read
Unlock Java Stream API: 10 Essential Best Practices for High-Performance Code
Top Architect
Top Architect
Oct 11, 2023 · Backend Development

Comprehensive Guide to Java 8 Stream API with Practical Code Examples

This article provides an in-depth tutorial on Java 8 Stream API, covering its concepts, creation methods, intermediate and terminal operations, mapping, reduction, collection, grouping, sorting, and includes numerous practical code examples to help developers master functional programming with streams.

Code ExamplesCollectionsJava
0 likes · 26 min read
Comprehensive Guide to Java 8 Stream API with Practical Code Examples
Top Architect
Top Architect
Sep 28, 2023 · Backend Development

Understanding Java Stream API: Concepts, Operations, and Practical Examples

This article introduces Java Stream API, explaining its functional programming concepts, lazy evaluation, and parallel processing capabilities, and provides detailed coverage of stream creation, intermediate operations such as filter, map, sorted, limit, and skip, as well as terminal operations like forEach, collect, reduce, match, find, and statistics, complemented by practical code examples.

JavaStream APITutorial
0 likes · 37 min read
Understanding Java Stream API: Concepts, Operations, and Practical Examples
Architect
Architect
Sep 27, 2023 · Backend Development

Comprehensive Guide to Java Stream API: Concepts, Operations, and Practical Examples

Java Stream API enables functional-style, declarative processing of collections and other data sources, offering lazy evaluation, parallel execution, and a rich set of intermediate and terminal operations such as filter, map, sorted, reduce, and collect, with examples illustrating creation, transformation, and practical usage.

CollectionsJavaStream API
0 likes · 38 min read
Comprehensive Guide to Java Stream API: Concepts, Operations, and Practical Examples
Java High-Performance Architecture
Java High-Performance Architecture
Sep 21, 2023 · Backend Development

Master Java Streams: Boost Code Readability and Performance

This comprehensive guide explains Java Stream fundamentals, its advantages such as declarative syntax, lazy evaluation, and parallel processing, and walks through creating streams, common intermediate and terminal operations, parallel streams, and practical code examples for handling collections and files.

JavaStream APIdata transformation
0 likes · 40 min read
Master Java Streams: Boost Code Readability and Performance
Sohu Tech Products
Sohu Tech Products
Sep 20, 2023 · Backend Development

Java CompletableFuture Tutorial: Asynchronous Programming and Task Composition

This tutorial explains Java 8's CompletableFuture, showing how to create, compose, and handle asynchronous tasks with methods like supplyAsync, thenApply, allOf, and anyOf, while emphasizing custom thread pools, non‑blocking patterns, and robust exception handling for real‑world concurrent programming.

CompletableFutureException HandlingJava
0 likes · 17 min read
Java CompletableFuture Tutorial: Asynchronous Programming and Task Composition
Su San Talks Tech
Su San Talks Tech
Sep 13, 2023 · Backend Development

Mastering Java Optional: When to Use It and How It Works Under the Hood

This article explores Java's Optional class, explaining its intended purpose, proper usage patterns, common pitfalls, performance considerations, and detailed source code analysis, while comparing it to traditional null checks and demonstrating how methods like map, orElseThrow, and orElseGet behave in practice.

Javafunctional programmingnull handling
0 likes · 10 min read
Mastering Java Optional: When to Use It and How It Works Under the Hood
Architect's Guide
Architect's Guide
Sep 12, 2023 · Backend Development

Using Java 8 Optional API to Eliminate NullPointerException

This article explains how Java 8's Optional class and its methods—of, ofNullable, empty, orElse, orElseGet, orElseThrow, map, flatMap, isPresent, ifPresent, and filter—can replace verbose null‑checks, making code more concise and safer while providing concrete examples and source code.

APIBackendJava
0 likes · 10 min read
Using Java 8 Optional API to Eliminate NullPointerException
Java Architect Essentials
Java Architect Essentials
Aug 31, 2023 · Backend Development

Comprehensive Guide to Java 8 Stream API with Practical Examples

This article provides an in‑depth tutorial on Java 8 Stream API, explaining its concepts, intermediate and terminal operations, and demonstrating over twenty practical code examples—including filtering, mapping, reducing, collecting, grouping, and parallel streams—to help developers master functional-style data processing in Java.

CollectionsJavaLambda
0 likes · 21 min read
Comprehensive Guide to Java 8 Stream API with Practical Examples
Architecture Digest
Architecture Digest
Aug 14, 2023 · Backend Development

Java 8 Stream API Tutorial: 20 Practical Examples for Filtering, Mapping, Reducing, and More

This comprehensive tutorial explains Java 8's Stream API and Lambda expressions, demonstrating how to create streams from collections and arrays, perform intermediate operations like filter, map, flatMap, and sorted, and use terminal operations such as forEach, findFirst, reduce, and collect through twenty detailed code examples covering employee data processing, aggregation, grouping, and sorting.

CollectionsJavaJava 8
0 likes · 21 min read
Java 8 Stream API Tutorial: 20 Practical Examples for Filtering, Mapping, Reducing, and More
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
Top Architect
Top Architect
Apr 18, 2023 · Backend Development

Understanding Java 8 Stream API, Parallel Streams, and ForkJoinPool

This article provides a comprehensive overview of Java 8's Stream API, explaining its core concepts, composition, BaseStream and Stream interfaces, the differences between parallel and sequential streams, the underlying ForkJoinPool mechanism, performance factors, and best practices for effective use in backend development.

Backend DevelopmentForkJoinPoolJava
0 likes · 21 min read
Understanding Java 8 Stream API, Parallel Streams, and ForkJoinPool
Java Backend Technology
Java Backend Technology
Mar 14, 2023 · Backend Development

Mastering Google Guava: Powerful Java Utilities for Cleaner Code

This article explores Google Guava’s rich set of utilities—including Joiner, Splitter, CharMatcher, Multiset, Multimap, BiMap, Table, Functions, Predicate, Optional, Preconditions, and Cache—demonstrating how they simplify string handling, collections, immutability, caching, and asynchronous callbacks for more elegant Java development.

CollectionsGoogle GuavaJava
0 likes · 11 min read
Mastering Google Guava: Powerful Java Utilities for Cleaner Code