Tagged articles
259 articles
Page 2 of 3
21CTO
21CTO
Mar 1, 2023 · Fundamentals

Why Ignoring Math Can Hurt Your Programming Career—and How to Turn It Around

The article argues that while you can start programming without deep math, mastering mathematical concepts—from physics simulations to linear algebra in search algorithms and abstract algebra in functional programming—significantly boosts problem‑solving ability, code safety, and career growth for developers.

abstract algebrafunctional programmingmathematics
0 likes · 12 min read
Why Ignoring Math Can Hurt Your Programming Career—and How to Turn It Around
JavaEdge
JavaEdge
Feb 7, 2023 · Fundamentals

How to Safeguard Your Code Against Unintended Modifications

The article explains how shared mutable state, such as global or static variables, can cause hard‑to‑debug bugs in multithreaded Java applications, and demonstrates that adopting immutability, pure functions, and event‑sourcing principles eliminates these issues, offering concrete coding guidelines and examples.

Javafunctional programmingimmutability
0 likes · 10 min read
How to Safeguard Your Code Against Unintended Modifications
JavaEdge
JavaEdge
Jan 27, 2023 · Fundamentals

Why Your Java Code Feels Procedural and How to Adopt Multi‑Paradigm Design

Even though Java promotes object‑oriented programming, many developers write code that looks like procedural C, mixing business logic across layers; this article explains programming paradigms, their constraints, and how to combine structured, object‑oriented, and functional techniques into a clean multi‑paradigm design.

JavaObject-OrientedProgramming Paradigms
0 likes · 9 min read
Why Your Java Code Feels Procedural and How to Adopt Multi‑Paradigm Design
Programmer DD
Programmer DD
Jan 18, 2023 · Backend Development

James Gosling Unveils Java’s Crucial Role at AWS and His Functional‑Programming Secrets

In a reClojure 2022 keynote, Java’s creator James Gosling discussed how Java underpins AWS’s core services, the massive team optimizing its garbage collection, his love for functional programming, the challenges of turning research into practice, and his confidence in Oracle’s current stewardship of the language.

AWSGarbage CollectionJames Gosling
0 likes · 4 min read
James Gosling Unveils Java’s Crucial Role at AWS and His Functional‑Programming Secrets
政采云技术
政采云技术
Dec 28, 2022 · Frontend Development

Understanding Currying in JavaScript

This article explains the concept of currying in JavaScript, demonstrates its benefits for reducing parameter repetition and improving code maintainability, and shows practical implementations including manual currying, utility functions, and applications in Redux middleware and function composition.

CurryingReduxcomposition
0 likes · 9 min read
Understanding Currying in JavaScript
DaTaobao Tech
DaTaobao Tech
Dec 14, 2022 · Fundamentals

Design and Implementation of a Functional Expression Engine Using Parser Combinators in Swift

The article presents a Swift‑based functional expression engine built with parser combinators and a monadic parser abstraction, detailing its layered architecture, grammar, expression‑tree representation, and performance benchmarks that replace NSPredicate limitations with a fast, composable solution for evaluating nested, configurable string expressions.

Expression EngineMonadParser Combinators
0 likes · 21 min read
Design and Implementation of a Functional Expression Engine Using Parser Combinators in Swift
21CTO
21CTO
Dec 7, 2022 · Fundamentals

Top 5 Emerging Programming Languages to Learn in 2023

Discover the five most promising new programming languages for 2023—Pony, Dart, PureScript, F#, and Crystal—each offering unique features such as actor-based concurrency, cross‑platform capabilities, functional paradigms, and performance optimizations to help developers stay ahead in the evolving software landscape.

functional programmingnew languages 2023
0 likes · 7 min read
Top 5 Emerging Programming Languages to Learn in 2023
Su San Talks Tech
Su San Talks Tech
Nov 26, 2022 · Fundamentals

Unlock Java Power: Master Guava’s Joiner, Splitter, CharMatcher & More

This article explores Google Guava’s most useful utilities—including Joiner, Splitter, CharMatcher, Multiset, Immutable collections, Multimap, BiMap, Table, Functions, Predicate, and Cache—showing how they simplify string handling, collection manipulation, caching, and asynchronous callbacks, with practical code examples and performance insights.

CollectionsGuavaJava
0 likes · 10 min read
Unlock Java Power: Master Guava’s Joiner, Splitter, CharMatcher & More
Alibaba Cloud Developer
Alibaba Cloud Developer
Nov 23, 2022 · Fundamentals

Why Design Patterns Can Overcomplicate Software and How to Avoid Their Pitfalls

Design patterns, often hailed as software design standards, can lead to over‑engineering, increased complexity, and maintenance challenges in fast‑changing internet applications, but when applied judiciously and evolved with functional approaches, they also enhance code reuse, readability, and long‑term system growth.

Design PatternsSoftware Architecturecode maintainability
0 likes · 22 min read
Why Design Patterns Can Overcomplicate Software and How to Avoid Their Pitfalls
Yunxuetang Frontend Team
Yunxuetang Frontend Team
Nov 11, 2022 · Frontend Development

Explore Frontend Trends: Vite, Low‑Code, Functional Programming, JMeter, and Security

This collection highlights essential frontend topics—including Vite's performance debate, low‑code concepts, functional programming fundamentals, JMeter performance testing, strategies for managing module dependencies and theme switching, as well as practical guidance on preventing XSS and CSRF attacks—offering developers a concise roadmap to modern web development.

Securityfrontendfunctional programming
0 likes · 5 min read
Explore Frontend Trends: Vite, Low‑Code, Functional Programming, JMeter, and Security
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
Architect's Tech Stack
Architect's Tech Stack
Oct 17, 2022 · Backend Development

A Comprehensive Guide to Google Guava Utilities in Java

This article introduces Google Guava's powerful utilities—including Joiner, Splitter, CharMatcher, Multiset, Multimap, BiMap, Table, Functions, Predicate, Cache, and asynchronous callbacks—explaining their advantages over standard JDK classes and demonstrating practical usage with code examples for Java developers.

Backend DevelopmentCacheCollections
0 likes · 10 min read
A Comprehensive Guide to Google Guava Utilities in Java
Architect's Tech Stack
Architect's Tech Stack
Oct 12, 2022 · Fundamentals

Java 8 Functional Interfaces and Stream Operations: Concepts, Examples, and Advanced Collectors

This article introduces Java 8's functional interfaces and lambda expressions, explains immutable values and function composition, demonstrates common stream operations such as collect, filter, map, flatMap, max/min, count, and reduce, and shows how to use advanced collectors like groupingBy, partitioningBy, and joining with practical code examples.

CollectorsFunctional InterfaceJava
0 likes · 17 min read
Java 8 Functional Interfaces and Stream Operations: Concepts, Examples, and Advanced Collectors
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 10, 2022 · Frontend Development

Pure Functions in JavaScript: Concepts, Benefits, and Practical Examples

This article explains the definition of pure functions in JavaScript, illustrates their input‑output behavior, side‑effects, composition, point‑free style, and monadic encapsulation, and demonstrates how writing pure functions improves readability, testability, and refactoring with concrete code examples.

Code RefactoringJavaScriptMonads
0 likes · 15 min read
Pure Functions in JavaScript: Concepts, Benefits, and Practical Examples
Selected Java Interview Questions
Selected Java Interview Questions
Sep 29, 2022 · Backend Development

Comprehensive Guide to Java Stream API and Optional Usage

This article provides an in‑depth tutorial on Java 8 Stream operations—including creation, intermediate and terminal operations, parallel streams, reduction, collection, and conversion—followed by a detailed explanation of the Optional class with examples of creation, presence checks, default values, filtering, mapping, and practical usage patterns.

CollectionsJava 8Stream API
0 likes · 17 min read
Comprehensive Guide to Java Stream API and Optional Usage
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
DaTaobao Tech
DaTaobao Tech
Sep 22, 2022 · Backend Development

Advanced Java Stream APIs: Reduce, Match, FlatMap and Performance Tips

The article explores lesser‑used Java Stream APIs—reduce, the matching trio (allMatch, anyMatch, noneMatch) and flatMap—showing practical examples, performance impacts of operation ordering, readability trade‑offs, and when to prefer streams or traditional loops, even mentioning parallelStream considerations.

JavaStream APIflatMap
0 likes · 10 min read
Advanced Java Stream APIs: Reduce, Match, FlatMap and Performance Tips
IT Architects Alliance
IT Architects Alliance
Sep 7, 2022 · Fundamentals

Comprehensive Overview of Reactive Programming and Its Relationship with Design Patterns, Architecture, and Programming Paradigms

This article provides a comprehensive overview of reactive programming, explaining its data‑flow model, contrasting it with observer, reactor, and other design patterns, contrasting it with imperative, object‑oriented, declarative, and functional paradigms, and includes Java code examples illustrating the transition from command‑style to reactive implementations.

Design PatternsJavaProgramming Paradigms
0 likes · 14 min read
Comprehensive Overview of Reactive Programming and Its Relationship with Design Patterns, Architecture, and Programming Paradigms
Python Programming Learning Circle
Python Programming Learning Circle
Aug 15, 2022 · Fundamentals

Why Modern Programming Languages Have Dropped ++/-- Operators: A Design‑Philosophy Perspective

This article examines the historical origin of the ++ and -- operators, explains why they were introduced, demonstrates that modern compilers no longer gain performance from them, and argues that functional‑style design, iterator‑based loops, and operator‑overloading concerns have led many contemporary languages to remove or deprecate these operators.

CCompiler OptimizationIterators
0 likes · 25 min read
Why Modern Programming Languages Have Dropped ++/-- Operators: A Design‑Philosophy Perspective
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?
The Dominant Programmer
The Dominant Programmer
Jul 31, 2022 · Fundamentals

How Java 8 Stream API Can Multiply Your Coding Efficiency

The article introduces Java 8’s Stream API, showing how to create streams from collections, arrays, and static methods, and demonstrates common operations such as filter, map, flatMap, reduce, collect, grouping, sorting, and limiting, with concrete code examples that replace verbose loops and improve readability.

CollectionsJavaJava 8
0 likes · 9 min read
How Java 8 Stream API Can Multiply Your Coding Efficiency
ByteFE
ByteFE
Jul 22, 2022 · Frontend Development

Curated Technical Articles on Frontend Development and Related Topics

This collection highlights recent developments and insightful articles on Vite 3.0, low‑code platform design, data source management, Svelte's innovative concepts, functional programming, SOLID principles in React, module federation, front‑end monitoring techniques, and CSS‑based particle animations, providing concise overviews and links for deeper exploration.

Low-code PlatformsSveltecss animation
0 likes · 6 min read
Curated Technical Articles on Frontend Development and Related Topics
Code Ape Tech Column
Code Ape Tech Column
Jul 9, 2022 · Backend Development

Using Java 8 Optional to Avoid NullPointerException

This article explains how Java 8's Optional class can replace verbose null‑checking code, introduces its core API methods such as of, ofNullable, empty, orElse, orElseGet, orElseThrow, map, flatMap, isPresent, ifPresent, and filter, and provides practical code examples for safer null handling.

functional programmingnullpointerexceptionoptional
0 likes · 9 min read
Using Java 8 Optional to Avoid NullPointerException
ByteFE
ByteFE
Jul 1, 2022 · Industry Insights

What’s New in Frontend, Cloud, and AI? Key Highlights from Vue, React, WebAssembly and More

This roundup covers the Vue 2.7 beta release, speculative futures for a Chromium‑only web, the architecture of a front‑end monitoring SDK, low‑code rendering standards, JavaScript sandbox evolution, GitHub Copilot’s general availability, WebAssembly trends, functional programming basics, Vue’s double‑ended diff algorithm, JSON.stringify pitfalls, and the latest focus areas of the React team.

ReactVueWeb Development
0 likes · 7 min read
What’s New in Frontend, Cloud, and AI? Key Highlights from Vue, React, WebAssembly and More
Bitu Technology
Bitu Technology
Jun 29, 2022 · Backend Development

Recap of Scala Meetup #7: Tubi Recommendation System Architecture, The Nature of Computation, and Reactive Streams in Large-Scale Scenarios

The seventh Scala Meetup gathered over 1400 online participants to share three technical talks covering Tubi's content recommendation system architecture, philosophical insights into the nature of computation, and practical experiences with reactive streams in large‑scale JVM environments, followed by a round‑table discussion and audience feedback.

Category TheoryReactive StreamsScala
0 likes · 15 min read
Recap of Scala Meetup #7: Tubi Recommendation System Architecture, The Nature of Computation, and Reactive Streams in Large-Scale Scenarios
Tencent Cloud Developer
Tencent Cloud Developer
Jun 20, 2022 · Fundamentals

Understanding C++ LINQ and Ranges Pipeline Implementation

The article explains how a C++ LINQ‑style pipeline, built on concepts like _Can_pipe and composable _Pipeline classes, provides lazy, type‑safe range operations using the pipe operator, serving as the foundation for the C++20 ranges library and future execution framework.

C++ LINQC++20 RangesLazy Evaluation
0 likes · 10 min read
Understanding C++ LINQ and Ranges Pipeline Implementation
Top Architect
Top Architect
Jun 11, 2022 · Backend Development

Using Java 8 Stream API for Data Processing with PO Objects

This article introduces Java 8's Stream API, explains its SQL‑like pipeline operations such as filter, map, sorted, forEach, collect, statistics and parallelStream, and demonstrates their usage on a UserPo class with comprehensive code examples for backend developers.

JavaStream APIfunctional programming
0 likes · 9 min read
Using Java 8 Stream API for Data Processing with PO Objects
Selected Java Interview Questions
Selected Java Interview Questions
Jun 6, 2022 · Backend Development

Java 8 Stream API Tutorial with POJO Examples

This article introduces Java 8's Stream API, explains its declarative data‑processing style, and demonstrates common operations such as filter, map, sorted, forEach, collect, statistics, and parallelStream using a UserPo class with full runnable code examples.

CollectionsLambdaStream API
0 likes · 8 min read
Java 8 Stream API Tutorial with POJO Examples
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
ELab Team
ELab Team
Apr 27, 2022 · Frontend Development

Master RxJS: Functional Foundations and Reactive Programming Essentials

This article introduces RxJS, explaining its roots in functional and reactive programming, detailing core concepts such as Observables, Observers, Subscriptions, Subjects, and operators, and demonstrates practical code examples that illustrate how to manage asynchronous event streams effectively in modern front‑end development.

JavaScriptObservablesfrontend development
0 likes · 22 min read
Master RxJS: Functional Foundations and Reactive Programming Essentials
Python Programming Learning Circle
Python Programming Learning Circle
Apr 25, 2022 · Fundamentals

Understanding Python Lambda Expressions: Syntax, Examples, and Use Cases

Python's lambda expressions provide a concise way to create anonymous functions, and this guide explains their syntax, demonstrates simple to complex examples—including arithmetic, conditional logic, and sorting—and compares them with traditional functions and built‑in utilities like filter and list comprehensions.

Code ExampleLambdaPython
0 likes · 5 min read
Understanding Python Lambda Expressions: Syntax, Examples, and Use Cases
Python Crawling & Data Mining
Python Crawling & Data Mining
Apr 25, 2022 · Fundamentals

Three Elegant Python Tricks to Sum Columns in a 2D List

This article presents three concise Python solutions—including list unpacking, NumPy aggregation, and a functional‑programming approach—to efficiently sum corresponding elements across sublists in a two‑dimensional list, complete with code examples and visual output.

Code ExamplesNumPyfunctional programming
0 likes · 5 min read
Three Elegant Python Tricks to Sum Columns in a 2D List
Java Architect Essentials
Java Architect Essentials
Apr 22, 2022 · Backend Development

Master Java Optional: Clean Null Handling with Real Code Examples

This article explains the NullPointerException problem in Java, introduces the Optional API introduced in Java 8, details each method such as of, ofNullable, empty, orElse, orElseGet, orElseThrow, map, flatMap, filter, isPresent and ifPresent, and provides practical code examples that replace verbose null‑checks with concise, functional style.

Javafunctional programmingjava8
0 likes · 10 min read
Master Java Optional: Clean Null Handling with Real Code Examples
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
58 Tech
58 Tech
Mar 22, 2022 · Game Development

Swift Native Mini‑Game Development in the Same‑City App: Architecture, Mixed‑Language Integration, and Performance Optimizations

This article describes how the Same‑City team migrated H5 mini‑games to a native Swift/SpriteKit solution, detailing the mixed Objective‑C/Swift environment, core game architecture, use of Swift functional and generic features, and the resulting improvements in package size, startup time, FPS, and memory consumption.

Game DevelopmentGenericsMixed Language
0 likes · 27 min read
Swift Native Mini‑Game Development in the Same‑City App: Architecture, Mixed‑Language Integration, and Performance Optimizations
Java Architect Essentials
Java Architect Essentials
Feb 17, 2022 · Backend Development

Using Java 8 Optional to Eliminate NullPointerException: API Overview and Practical Examples

This article explains the frequent NullPointerException issue in Java, introduces the Optional class and its constructors and methods such as of, ofNullable, orElse, orElseGet, orElseThrow, map, flatMap, isPresent, ifPresent, and filter, and demonstrates how to replace verbose null‑checks with concise Optional‑based code through several real‑world examples.

functional programmingjava8nullpointerexception
0 likes · 10 min read
Using Java 8 Optional to Eliminate NullPointerException: API Overview and Practical Examples
Java Architect Essentials
Java Architect Essentials
Jan 12, 2022 · Backend Development

Master Java Stream API: 20 Real‑World Examples and Best Practices

This tutorial walks through Java 8 Stream fundamentals, covering creation, intermediate operations (filter, map, flatMap, reduce), terminal actions, collectors, grouping, sorting, and parallel streams, illustrated with 20 practical code examples that transform and analyze collections of objects such as employee records.

CollectionsJavaStream API
0 likes · 24 min read
Master Java Stream API: 20 Real‑World Examples and Best Practices
Top Architect
Top Architect
Jan 6, 2022 · Backend Development

Simplifying Java Code with Stream API: From Filtering to Grouping

This article explains how Java 8's Lambda expressions and Stream API enable concise, declarative processing of collections—showing pre‑Java 8 versus Java 8 implementations for filtering, sorting, mapping, and grouping dishes, and covering core stream concepts, creation methods, intermediate and terminal operations.

CollectionsJavaLambda
0 likes · 16 min read
Simplifying Java Code with Stream API: From Filtering to Grouping
21CTO
21CTO
Jan 3, 2022 · Frontend Development

Unlock Front-End Power with Open-Closed, Functional Programming, and Messaging

This article explores how core software engineering concepts—Open‑Closed Principle, functional programming, and message mechanisms—are applied in modern front‑end development, illustrating each with real‑world frameworks like React, Ant Design, and Redux, and providing code examples to deepen understanding.

Open/Closed Principlefunctional programmingmessage passing
0 likes · 18 min read
Unlock Front-End Power with Open-Closed, Functional Programming, and Messaging
Code Ape Tech Column
Code Ape Tech Column
Nov 10, 2021 · Backend Development

Simplifying Collection Processing with Java 8 Stream API

This article demonstrates how Java 8's Stream API and lambda expressions can replace verbose pre‑Java 8 collection handling code with concise, readable functional pipelines for filtering, sorting, mapping, grouping, and aggregating data.

CollectionsJavaLambda
0 likes · 15 min read
Simplifying Collection Processing with Java 8 Stream API
JD Retail Technology
JD Retail Technology
Oct 11, 2021 · Mobile Development

Common Programming Paradigms in Objective‑C: Chainable, Reactive, Functional, Procedural, and Object‑Oriented

This article introduces the major programming paradigms frequently used in Objective‑C—including chainable, reactive, functional, procedural, and object‑oriented styles—explaining their concepts, advantages, and providing concrete code examples to help developers design cleaner, more maintainable iOS applications.

ChainableObject-OrientedObjective‑C
0 likes · 11 min read
Common Programming Paradigms in Objective‑C: Chainable, Reactive, Functional, Procedural, and Object‑Oriented
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
Sohu Tech Products
Sohu Tech Products
Sep 22, 2021 · Fundamentals

Understanding Finite State Machines and Their Implementation in Swift

This article introduces finite‑state machines, explains their mathematical definition and classification, demonstrates a simple metro‑gate example, and provides two complete Swift implementations—one using object‑oriented design with protocols and classes and another using a functional style with generic transition structs and thread‑safe queues—followed by a real‑world keyboard‑state use case.

Finite State MachineSwiftfunctional programming
0 likes · 18 min read
Understanding Finite State Machines and Their Implementation in Swift
Taobao Frontend Technology
Taobao Frontend Technology
Sep 2, 2021 · Frontend Development

Why Front-End Developers Must Master Functional Programming and React Hooks

This article explores the history and principles of functional programming, explains why it has become essential for front‑end developers, demonstrates how React class components can be replaced by functional components using hooks, and provides practical examples of pure functions, functors, monads, memoization, and related design patterns in JavaScript.

JavaScriptReactfunctional programming
0 likes · 21 min read
Why Front-End Developers Must Master Functional Programming and React Hooks
macrozheng
macrozheng
Sep 2, 2021 · Backend Development

Mastering Java 8 Stream API: 20 Real‑World Examples

This tutorial walks through Java 8 Stream and Lambda features, explaining stream concepts, intermediate and terminal operations, and demonstrating twenty practical examples—including creation, filtering, mapping, reduction, collection, sorting, and combining—using an employee class to illustrate each operation.

CollectionsJavaJava 8
0 likes · 27 min read
Mastering Java 8 Stream API: 20 Real‑World Examples
Alibaba Terminal Technology
Alibaba Terminal Technology
Sep 1, 2021 · Frontend Development

Why Front‑End Developers Must Master Functional Programming and React Hooks

This article explores the history and resurgence of functional programming, explains why it is essential for modern front‑end development, demonstrates class and function components in React, introduces hooks, functors, monads, partial application, memoization, and provides practical code examples for building robust, side‑effect‑free UI logic.

JavaScriptMonadPure Functions
0 likes · 19 min read
Why Front‑End Developers Must Master Functional Programming and React Hooks
macrozheng
macrozheng
Aug 27, 2021 · Backend Development

Master Java 8 Optional and Lambda: Reduce Null Checks and Write Cleaner Code

This tutorial explains how Java 8's Optional class and lambda expressions simplify null handling and collection processing, offering concise code examples, method summaries, and a clear comparison with Java 7 approaches to improve readability and development efficiency.

Code ExamplesJDK8Java
0 likes · 8 min read
Master Java 8 Optional and Lambda: Reduce Null Checks and Write Cleaner Code
Code Ape Tech Column
Code Ape Tech Column
Aug 22, 2021 · Backend Development

Comprehensive Java 8 Stream API Guide with 20 Practical Examples

This article provides a thorough introduction to Java 8's Stream and Lambda features, presenting twenty detailed code examples that cover stream creation, intermediate operations such as filter, map, flatMap, reduce, collect, and terminal operations including sorting, grouping, and parallel processing, helping developers master functional-style collection handling in Java.

Code ExamplesCollectionsJava
0 likes · 24 min read
Comprehensive Java 8 Stream API Guide with 20 Practical Examples
Top Architect
Top Architect
Aug 1, 2021 · 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 its concepts, creation methods, common operations such as filtering, mapping, reducing, collecting, sorting, and grouping, along with numerous runnable code examples that demonstrate how to process collections efficiently using streams.

CollectionsJavaJava 8
0 likes · 24 min read
Comprehensive Guide to Java 8 Stream API with Practical Examples
Python Programming Learning Circle
Python Programming Learning Circle
Jul 19, 2021 · Fundamentals

An Introduction to Python's itertools Library

This article introduces Python's itertools module, explaining its purpose for creating efficient iterators, and provides concise examples of functions such as accumulate, chain, combinations, compress, count, cycle, dropwhile, filterfalse, groupby, islice, permutations, product, repeat, starmap, takewhile, tee, and zip_longest, each illustrated with runnable code snippets.

IteratorsStandard Libraryfunctional programming
0 likes · 9 min read
An Introduction to Python's itertools Library
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jul 9, 2021 · Fundamentals

Evolution of Software Development, OOP, and Functional Refactoring with Java Predicates

The article traces the three historical stages of software development, explains object‑oriented programming fundamentals, highlights the duplication problem in traditional query methods, and demonstrates how Java 8 functional programming with Predicate interfaces can refactor and compose flexible query logic.

JavaPredicatesfunctional programming
0 likes · 7 min read
Evolution of Software Development, OOP, and Functional Refactoring with Java Predicates
Programmer DD
Programmer DD
Jun 18, 2021 · Backend Development

Unlock Functional Java with Vavr: Immutable Collections & Pattern Matching

This article introduces Vavr, a Java 8 functional library that brings immutable, persistent collections, observable side‑effects via Try, tuple types, enhanced function composition, lazy evaluation, and Scala‑like pattern matching, showing code examples and explaining how to integrate the library into Maven projects.

Immutable CollectionsJavaVavr
0 likes · 9 min read
Unlock Functional Java with Vavr: Immutable Collections & Pattern Matching
Alibaba Cloud Developer
Alibaba Cloud Developer
May 26, 2021 · Fundamentals

How to Refactor C Code: From Simple Scripts to Object‑Oriented and Functional Styles

This article walks through a step‑by‑step refactoring of a small C program that reads employee data, adjusts salaries, and writes results, illustrating how to identify repeated code, extract reusable abstractions, apply object‑oriented and functional techniques, and even explore dynamic scope and data‑structure replacement for cleaner, more maintainable software.

C programmingObject-Orientedfunctional programming
0 likes · 42 min read
How to Refactor C Code: From Simple Scripts to Object‑Oriented and Functional Styles
Selected Java Interview Questions
Selected Java Interview Questions
May 25, 2021 · Fundamentals

Understanding and Leveraging Java Optional: Creation, Access, Default Values, Exceptions, Transformations, Filtering, and Java 9 Enhancements

This article provides a comprehensive guide to Java's Optional class, covering its purpose for avoiding NullPointerExceptions, how to create and access Optional instances, default‑value methods, exception handling, value transformation, filtering, method chaining, and new features introduced in Java 9.

JavaJava9Stream
0 likes · 13 min read
Understanding and Leveraging Java Optional: Creation, Access, Default Values, Exceptions, Transformations, Filtering, and Java 9 Enhancements
JD Retail Technology
JD Retail Technology
May 25, 2021 · Mobile Development

Optimizing JD Mall Order Business with Swift: Static Dispatch, Value Types, and Functional Techniques

This article describes how JD Mall’s order system migrated key iOS components to Swift, leveraging static dispatch, value‑type structures, protocol‑oriented design, error handling, guard statements, defer, lazy loading, and functional programming to improve performance, safety, and maintainability across mobile and macOS applications.

Error HandlingSwiftSwiftUI
0 likes · 16 min read
Optimizing JD Mall Order Business with Swift: Static Dispatch, Value Types, and Functional Techniques
Python Programming Learning Circle
Python Programming Learning Circle
May 10, 2021 · Backend Development

Functional Dependency Injection in Python: From Simple Thresholds to Contextual Composition

This article explores how to combine typed functional concepts with traditional object‑oriented dependency injection in Python, using a Django‑based word‑guessing game to illustrate naive parameter passing, its drawbacks, and a functional approach based on factories, transparent dependencies, and static typing.

Software ArchitectureType Safetydependency-injection
0 likes · 11 min read
Functional Dependency Injection in Python: From Simple Thresholds to Contextual Composition
Programmer DD
Programmer DD
May 9, 2021 · Backend Development

How Stream API Can Shrink Your Java Code from 24 Lines to 5

This article explains Java 8's Stream API, showing how to replace verbose pre‑Java‑8 collection processing with concise, declarative stream operations, covering stream creation, intermediate and terminal operations, and practical examples such as filtering, sorting, mapping, grouping, and aggregation.

JavaJava 8Lambda
0 likes · 15 min read
How Stream API Can Shrink Your Java Code from 24 Lines to 5
KooFE Frontend Team
KooFE Frontend Team
Apr 28, 2021 · Fundamentals

How to Write Clean, Maintainable Functions: Practical Tips & Examples

This article presents essential clean‑code techniques for writing reusable, side‑effect‑free functions—covering default parameters, limiting arguments, avoiding global state and mutable objects, single‑purpose design, abstraction levels, functional over imperative styles, and method chaining—illustrated with clear JavaScript examples.

best practicesclean codefunctional programming
0 likes · 13 min read
How to Write Clean, Maintainable Functions: Practical Tips & Examples
Liangxu Linux
Liangxu Linux
Apr 21, 2021 · Fundamentals

Why Reusable Code Eludes Us: FP vs OO Through a FizzBuzz Experiment

The article examines why truly reusable code is hard to achieve by contrasting functional programming in F# with object‑oriented programming in C# through a FizzBuzz implementation, highlighting differences in fragmentation, coupling, and flexibility that affect component reuse.

C#F#code-reuse
0 likes · 11 min read
Why Reusable Code Eludes Us: FP vs OO Through a FizzBuzz Experiment
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
Alibaba Terminal Technology
Alibaba Terminal Technology
Apr 7, 2021 · Frontend Development

Why Hooks? Uncovering the Functional Foundations of React and Beyond

This article explores the motivations behind React's Hooks API, contrasts it with the Class API, delves into functional programming concepts, demonstrates implementations via Mixins, HOCs, and custom hooks, and compares React Hooks to Vue's Composition API, offering deep insights for front‑end developers.

Composition APIReactTypeScript
0 likes · 22 min read
Why Hooks? Uncovering the Functional Foundations of React and Beyond
ByteFE
ByteFE
Mar 17, 2021 · Frontend Development

A Comprehensive Guide to JavaScript's Array reduce Method and Its Versatile Applications

This article explains the syntax and behavior of JavaScript's reduce method, compares it with map, forEach, filter and find, and demonstrates numerous practical patterns such as flattening arrays, counting occurrences, grouping by property, deduplication, and finding extrema, all illustrated with clear code examples.

ArrayCode ExamplesJavaScript
0 likes · 10 min read
A Comprehensive Guide to JavaScript's Array reduce Method and Its Versatile Applications
政采云技术
政采云技术
Mar 16, 2021 · Fundamentals

Understanding Programming Paradigms: Imperative, Declarative, Functional, and Object‑Oriented in JavaScript

This article explains core programming paradigms—imperative, declarative, functional, and object‑oriented—illustrating their concepts, differences, and practical JavaScript examples, while discussing features like first‑class functions, currying, composition, and OOP principles such as encapsulation, inheritance, and polymorphism.

CurryingDeclarativeImperative
0 likes · 14 min read
Understanding Programming Paradigms: Imperative, Declarative, Functional, and Object‑Oriented in JavaScript
Programmer DD
Programmer DD
Feb 19, 2021 · Backend Development

Mastering Lazy Initialization and Stream Laziness in Java 8

This article explains the difference between eager and lazy evaluation, shows when and how to use lazy initialization in Java, demonstrates Supplier‑based lazy loading, virtual proxy patterns, and stream laziness with infinite streams and prime number generation, all with concrete code examples.

JavaStreamSupplier
0 likes · 12 min read
Mastering Lazy Initialization and Stream Laziness in Java 8
21CTO
21CTO
Feb 6, 2021 · Fundamentals

Why Are Reusable Components So Hard? A FP vs OO FizzBuzz Experiment

The article explores why building truly reusable components is challenging by comparing a concise functional F# implementation of FizzBuzz with a more verbose object‑oriented C# version, highlighting how language paradigms and design assumptions affect modularity, coupling, and extensibility.

CF#component reuse
0 likes · 11 min read
Why Are Reusable Components So Hard? A FP vs OO FizzBuzz Experiment
Bitu Technology
Bitu Technology
Feb 2, 2021 · Backend Development

Recap of the Online Scala Meetup: Reactive Ad Platform, Functional Programming, Scala 3 Typeclasses, and Spring‑Akka Microservices

The 2021 Online Scala Meetup organized by Tubi featured four technical talks covering a fully reactive ad‑serving platform built with Scala and Akka‑Streams, a pragmatic take on functional programming, Scala 3 typeclass implementation, and a Spring‑Akka microservice integration, followed by summaries and recruitment information.

AkkaMicroservicesScala
0 likes · 4 min read
Recap of the Online Scala Meetup: Reactive Ad Platform, Functional Programming, Scala 3 Typeclasses, and Spring‑Akka Microservices
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Jan 19, 2021 · Fundamentals

Understanding Functor, Applicative, and Monad in JavaScript with Practical Examples

The article explains JavaScript’s Functor, Applicative, and Monad abstractions—showing how map, ap, and chain (flatMap) on Box types such as Either, LazyBox, and a lazy Task can replace nested try‑catch and null checks, enable composable synchronous and asynchronous code, and support parallel execution with Task.ap.

ApplicativeAsyncJavaScript
0 likes · 20 min read
Understanding Functor, Applicative, and Monad in JavaScript with Practical Examples
Programmer DD
Programmer DD
Dec 15, 2020 · Fundamentals

Master Java Method References: Simplify Lambdas for Cleaner Code

This article explains Java's method reference feature, covering its four types, practical code examples for static methods, instance methods, constructors, and highlighting limitations compared to lambda expressions, helping developers write more readable and concise Java 8 code.

JavaJava 8Method References
0 likes · 7 min read
Master Java Method References: Simplify Lambdas for Cleaner Code
vivo Internet Technology
vivo Internet Technology
Nov 18, 2020 · Backend Development

Understanding Java 8 Stream API Pipeline and Its Internal Implementation

Java 8’s Stream API builds a lazy pipeline where each intermediate operation is recorded as a stage and only a terminal operation triggers a single-pass execution, using internal classes like ReferencePipeline, Slink, and Sink to efficiently combine stateless, stateful, and short‑circuiting operations.

Backend DevelopmentJavaPipeline
0 likes · 8 min read
Understanding Java 8 Stream API Pipeline and Its Internal Implementation
Top Architect
Top Architect
Nov 18, 2020 · Backend Development

A Comprehensive Guide to Google Guava: Collections, Functional Utilities, and Caching in Java

This article introduces the core features of Google Guava—including Joiner, Splitter, CharMatcher, primitive type helpers, Multiset, immutable collections, Multimap, BiMap, Table, functional utilities like Functions and Predicates, Optional, Preconditions, and a powerful local Cache—showcasing how they simplify Java development and improve code readability, safety, and performance.

CacheCollectionsGuava
0 likes · 9 min read
A Comprehensive Guide to Google Guava: Collections, Functional Utilities, and Caching in Java