Tagged articles
Lambda Expressions
14 articles · Page 1 of 1
This article shows how to eliminate repetitive database validation code by creating generic reusable methods using Java 8 functional interfaces and MyBatis Plus SFunction, demonstrating ensureColumnValueValid, validateColumnValueMatchesExpected, and validateColumnValueInExpectedList with before-and-after comparisons.
Functional InterfacesGenericsJava 8
0 likes · 14 min read

This article explains the four types of Java method references (static, bound instance, arbitrary instance, constructor), their equivalent lambdas, compiler overload resolution, readability trade-offs, and practical examples showing when method references improve clarity versus when lambdas remain preferable.
Best PracticesCode ReadabilityCompiler Overload Resolution
0 likes · 21 min read

This article explains what Java lambda expressions are, why they were introduced, their syntax and classifications, functional interfaces, core functional interfaces, method references, and provides multiple code examples that progressively simplify traditional anonymous inner classes into concise lambda forms.
Functional InterfacesJavaLambda Expressions
0 likes · 15 min read

This article introduces Java 8 Stream API, explains its functional style similar to SQL, and demonstrates how to process PO objects using filter, map, sorted, forEach, collect, statistics, and parallelStream operations with complete code examples.
JavaLambda ExpressionsStream API
0 likes · 13 min read

This article explains PHP lambda expressions (anonymous functions), demonstrates how to filter arrays, pass functions as callbacks, and sort data using concise syntax, while highlighting their benefits, performance impact, and limitations for backend developers.
Anonymous FunctionsLambda ExpressionsPHP
0 likes · 4 min read

This article provides a comprehensive overview of C++11 enhancements, including list initialization, type deduction, constexpr, move semantics, perfect forwarding, lambda expressions, smart pointers, and new casting rules, with detailed explanations and code examples illustrating their syntax, behavior, and practical applications.
C++11CastingLambda Expressions
0 likes · 61 min read

This article demonstrates how to refactor a coupon‑type service by applying the Strategy pattern and a Map combined with Java 8 lambda expressions, eliminating bulky if‑else or switch statements while improving maintainability and readability.
JavaLambda ExpressionsStrategy Pattern
0 likes · 7 min read

The article explains that Java lambda expressions capture variables by value, requiring them to be effectively final, which prevents modification of the original variable and aligns with functional programming principles that avoid stateful functions.
Effectively FinalJavaLambda Expressions
0 likes · 3 min read

This article explains Java lambda expressions (closures) introduced in Java 8, their concise syntax and optional features, demonstrates functional interfaces and practical code examples, and analyzes the generated bytecode and LambdaMetafactory mechanism that underlies their runtime behavior.
Functional InterfaceJavaJava 8
0 likes · 9 min read

This article explains Java method references, shows how they simplify lambda expressions with practical code examples, outlines reference formats, discusses readability benefits, and provides guidance for adopting this Java 8 feature in everyday programming.
Code SimplificationLambda ExpressionsMethod References
0 likes · 6 min read

An extensive guide to Java 8’s new capabilities, covering lambda expressions, functional interfaces, streams, default methods, Optional, CompletableFuture, the new date‑time API, concurrency enhancements, and numerous language and library improvements, with detailed explanations and code examples.
CompletableFutureConcurrencyFunctional Interfaces
0 likes · 51 min read

This article introduces Kotlin as a JVM‑based language, explains why it is chosen for Android development, details its main features such as null safety, data classes, and lambda expressions, compares compilation performance with Java, and provides practical JD‑specific integration steps, configuration tips, common pitfalls, and real‑world usage examples.
AndroidData ClassesGradle
0 likes · 13 min read


ITPUBApr 15, 2014 · Backend Development
In this interview a veteran full‑stack engineer shares his career path, explains Java 8’s key features such as lambda expressions and JavaFX enhancements, offers practical advice for programmers, and discusses the complementary roles of NoSQL and relational databases, highlighting MongoDB’s strengths.
Java 8Lambda ExpressionsMongoDB
0 likes · 9 min read

Java remains the dominant, widely‑employed language—especially in China—and Java SE 8 revitalizes it with lambda expressions, default interface methods, a modern date‑time API and numerous refinements, while its cross‑platform design fuels IoT and embedded growth and sustains a lucrative, evolving ecosystem.
IoTJavaJava SE 8
0 likes · 4 min read
