Tagged articles
237 articles
Page 3 of 3
Programmer DD
Programmer DD
Nov 23, 2019 · Backend Development

Mastering Java Lambda: From Runnable to UnaryOperator Explained

This article explains how Java lambda expressions work by showing thread creation, collection sorting, and the underlying functional interfaces such as Runnable, Comparator, Function, and UnaryOperator, while clarifying the role of the @FunctionalInterface annotation and the compiler’s automatic detection of functional interfaces.

FunctionalInterfaceLambdaUnaryOperator
0 likes · 13 min read
Mastering Java Lambda: From Runnable to UnaryOperator Explained
vivo Internet Technology
vivo Internet Technology
Oct 30, 2019 · Mobile Development

Kotlin Function Features: Expression Bodies, Named & Default Arguments, Top‑Level & Extension Functions, Lambdas, Member References, with/apply

Kotlin’s function features—including expression bodies, named and default arguments, top‑level and extension functions, local functions, lambdas, member references, and the utility functions with and apply—enable Android developers to write concise, expressive, and boiler‑plate‑free code.

Extension FunctionsKotlinLambda
0 likes · 17 min read
Kotlin Function Features: Expression Bodies, Named & Default Arguments, Top‑Level & Extension Functions, Lambdas, Member References, with/apply
Programmer DD
Programmer DD
Oct 25, 2019 · Backend Development

Master Java 8 Streams: From Basics to Powerful Operations

This article introduces Java 8 Stream API, explains its core concepts, shows how to generate streams, details intermediate and terminal operations with practical code examples, and provides a visual overview of the Stream hierarchy for developers seeking to write concise and efficient Java code.

Java 8LambdaStream API
0 likes · 16 min read
Master Java 8 Streams: From Basics to Powerful Operations
21CTO
21CTO
Oct 23, 2019 · Mobile Development

How Android Supports Java 8 Lambda: From invokedynamic to RetroLambda & D8

This article explains the principles behind Java 8 lambda expressions and the invokedynamic bytecode instruction, then examines how Android indirectly supports these features through tools like RetroLambda, Jack & Jill, and the D8 dex compiler, detailing their desugaring processes and limitations.

AndroidD8Desugar
0 likes · 16 min read
How Android Supports Java 8 Lambda: From invokedynamic to RetroLambda & D8
Meituan Technology Team
Meituan Technology Team
Oct 17, 2019 · Mobile Development

Understanding Java 8 Lambda Support on Android: invokedynamic, RetroLambda, Jack & Jill, and D8

The article explains how Java 8 lambda expressions rely on the invokedynamic bytecode instruction, and how Android compensates for its absence by desugaring lambdas through RetroLambda, the now‑deprecated Jack & Jill toolchain, and the modern D8 compiler, each generating synthetic classes for runtime execution.

AndroidD8Desugar
0 likes · 14 min read
Understanding Java 8 Lambda Support on Android: invokedynamic, RetroLambda, Jack & Jill, and D8
Senior Brother's Insights
Senior Brother's Insights
Oct 13, 2019 · Fundamentals

Master Java 8 Lambda Expressions: From Anonymous Classes to Functional Interfaces

This guide explains Java 8’s Lambda expressions, covering their purpose, syntax, functional interfaces, method references, and practical examples such as thread creation, event handling, collection processing, and Stream API usage, while comparing them to traditional anonymous classes and highlighting compilation differences.

Functional InterfaceLambdaMethod Reference
0 likes · 13 min read
Master Java 8 Lambda Expressions: From Anonymous Classes to Functional Interfaces
FunTester
FunTester
Jul 30, 2019 · Fundamentals

Exploring Python Lambdas: Prime Filtering and a Heart‑Shaped Print

The author revisits a prime‑number filter using Python's lambda syntax, then refactors a one‑line heart‑shape printer into clearer loops, showcasing how lambda expressions and list comprehensions can simplify mathematical visualizations while deepening understanding of Python's expressive power.

ASCII artCode ExampleHeart Shape
0 likes · 3 min read
Exploring Python Lambdas: Prime Filtering and a Heart‑Shaped Print
MaGe Linux Operations
MaGe Linux Operations
May 22, 2019 · Fundamentals

Why Python Closures Print 6,6,6,6 and How to Get 0,2,4,6

An unexpected Python interview question demonstrates how late binding in closures causes all lambdas to use the final loop value, producing 6,6,6,6 instead of 0,2,4,6, and the article explains the underlying reason and presents four practical solutions to achieve the intended output.

LambdaPythonclosures
0 likes · 4 min read
Why Python Closures Print 6,6,6,6 and How to Get 0,2,4,6
Java Backend Technology
Java Backend Technology
May 16, 2019 · Backend Development

Unveiling Java’s Syntactic Sugar: How the Compiler Simplifies Your Code

This article explores Java's syntactic sugar from a compilation perspective, dissecting bytecode and class files to reveal the underlying mechanisms of features such as switch on strings, generics, autoboxing, varargs, enums, lambdas, and more, helping developers understand both usage and implementation.

GenericsLambdacompiler
0 likes · 18 min read
Unveiling Java’s Syntactic Sugar: How the Compiler Simplifies Your Code
Wukong Talks Architecture
Wukong Talks Architecture
Apr 27, 2019 · Fundamentals

C# Multithreading Journey (2) – Creating and Starting Threads

This article explains how to create and start threads in C#, covering ThreadStart delegates, lambda expressions, passing parameters, naming threads, foreground/background distinctions, thread priority, and exception handling, with clear code examples and best‑practice recommendations.

Exception HandlingLambdaThread Priority
0 likes · 13 min read
C# Multithreading Journey (2) – Creating and Starting Threads
Java Captain
Java Captain
Apr 20, 2019 · Fundamentals

Understanding Java Lambda Expressions, Functional Interfaces, Streams, and Optional

This article explains how Java 8 lambda expressions let you assign blocks of code to variables, how they are tied to functional interfaces, and demonstrates step‑by‑step simplifications using built‑in functional interfaces, forEach, stream(), method references, and Optional for elegant null handling.

Functional InterfaceJava 8Lambda
0 likes · 6 min read
Understanding Java Lambda Expressions, Functional Interfaces, Streams, and Optional
Programmer DD
Programmer DD
Apr 19, 2019 · Fundamentals

Master Java’s Comparator: Sorting Collections, Streams, and Sets Made Easy

This article explains Java's Comparator interface, its compare method, lambda definitions, and how to use it with Collections.sort, List.sort, Arrays.sort, Stream.sorted, as well as with SortedSet and SortedMap structures, covering static and default methods like reversed, nullsFirst, thenComparing, and more.

ComparatorLambdaSorting
0 likes · 31 min read
Master Java’s Comparator: Sorting Collections, Streams, and Sets Made Easy
Ops Development Stories
Ops Development Stories
Dec 29, 2018 · Fundamentals

Master Python Functions: From Basics to Advanced Techniques

This comprehensive guide explains Python functions—their purpose, definition syntax, scope rules, built‑in statements like def, return, global, nonlocal, and lambda, various argument types, recursion, higher‑order functions, and functional tools such as map, filter, and reduce—complete with runnable code examples.

LambdaRecursionarguments
0 likes · 20 min read
Master Python Functions: From Basics to Advanced Techniques
21CTO
21CTO
Oct 9, 2018 · Backend Development

How IntelliJ IDEA Enhances Java 11: New Lambda var Support and Migration Tips

This article explains how IntelliJ IDEA supports Java 11 features such as lambda parameter var syntax, highlights removed APIs, and offers practical guidance for migrating code from Java 9 and 10 while showcasing IDE tools that simplify the transition.

IDE SupportIntelliJ IDEAJava 11
0 likes · 7 min read
How IntelliJ IDEA Enhances Java 11: New Lambda var Support and Migration Tips
Big Data and Microservices
Big Data and Microservices
Sep 4, 2018 · Big Data

Exploring Five Big Data Architectures—from Traditional to Unified AI Designs

The article examines the evolution of big‑data processing by comparing five prevalent architectures—traditional Hadoop‑based stacks, streaming‑only designs, Kappa, Lambda, and the unified Unifield model—highlighting their strengths, weaknesses, and suitable scenarios while discussing the limitations of classic BI systems and the role of distributed storage, computation, and machine‑learning integration.

Big DataData ArchitectureHadoop
0 likes · 14 min read
Exploring Five Big Data Architectures—from Traditional to Unified AI Designs
MaGe Linux Operations
MaGe Linux Operations
Aug 20, 2018 · Fundamentals

Why Does This Python Lambda Loop Print 6 Every Time? Mastering Late Binding

The article examines a Python interview question where a lambda list inside a loop unexpectedly prints 6 for all elements due to late binding in closures, explains the underlying mechanism, and presents four practical solutions—including default‑argument binding, functools.partial, generator expressions, and yield‑based approaches—to achieve the intended 0, 2, 4, 6 output.

Lambdaclosuresinterview question
0 likes · 5 min read
Why Does This Python Lambda Loop Print 6 Every Time? Mastering Late Binding
Java Architect Essentials
Java Architect Essentials
Aug 15, 2018 · Fundamentals

Java 11 Upcoming Features and Their Differences from Java 9 and 10

The article outlines the scheduled Java 11 release, detailing four major JEP proposals—including local‑variable syntax for lambda parameters, the low‑overhead Epsilon garbage collector, dynamic class‑file constants, and removal of Java EE/CORBA modules—while also discussing the shift to a faster release cycle and long‑term support model.

Garbage CollectionJEPJava11
0 likes · 6 min read
Java 11 Upcoming Features and Their Differences from Java 9 and 10
MaGe Linux Operations
MaGe Linux Operations
Aug 14, 2018 · Fundamentals

Rewrite Multi‑Line Functions Using Python Lambda – Surprising Tricks

Explore unconventional Python techniques—including simulating multi‑line functions with lambda expressions, clever ternary operator shortcuts, list‑comprehension methods for deduplication, generating Fibonacci sequences, and mutable default arguments—while highlighting pitfalls and performance considerations for each trick.

LambdaPythonlist-comprehension
0 likes · 8 min read
Rewrite Multi‑Line Functions Using Python Lambda – Surprising Tricks
Programmer DD
Programmer DD
Aug 8, 2018 · Fundamentals

Unlocking Java Lambdas: How Functional Interfaces Power Modern Code

This article explores Java 8 lambda expressions, demonstrating their syntax, how they map to functional interfaces like Runnable and Comparator, the role of the @FunctionalInterface annotation, and the practical use of UnaryOperator and Function interfaces in everyday code.

FunctionalInterfaceFunctionalProgrammingLambda
0 likes · 14 min read
Unlocking Java Lambdas: How Functional Interfaces Power Modern Code
JD Tech
JD Tech
Aug 2, 2018 · Mobile Development

Kotlin Overview: Features, Null Safety, Data Classes, Interoperability, and JD Mobile Development Integration

This article introduces Kotlin as a JVM‑based language, explains why it is chosen for Android development, details its concise syntax, null‑safety, data‑class and lambda features, demonstrates interoperability with Java, analyzes compilation performance, and provides practical JD mobile‑app integration steps and common troubleshooting tips.

AndroidData ClassesKotlin
0 likes · 13 min read
Kotlin Overview: Features, Null Safety, Data Classes, Interoperability, and JD Mobile Development Integration
Test Development Learning Exchange
Test Development Learning Exchange
Jul 12, 2018 · Fundamentals

Python built‑in functions: sorted, eval, and upper – syntax, parameters, and practical examples

This article explains how to use Python's sorted, eval, and upper built‑in functions, covering their syntax, optional arguments such as key, cmp, and reverse, safety considerations for eval, and concrete code examples that demonstrate sorting lists, converting strings to uppercase, and evaluating literals.

Lambdacoding-tutorialeval
0 likes · 6 min read
Python built‑in functions: sorted, eval, and upper – syntax, parameters, and practical examples
Java Captain
Java Captain
Jun 25, 2018 · Fundamentals

10 Java One‑Liners Using Lambda and Stream for Common Tasks

This article presents ten concise Java 8 one‑liners that leverage lambda expressions, streams, try‑with‑resources, and other modern features to perform common operations such as mapping, summing, filtering, file I/O, XML parsing, min/max calculations, parallel processing, and LINQ‑style queries in a single line of code.

LambdaOne-linerjava
0 likes · 6 min read
10 Java One‑Liners Using Lambda and Stream for Common Tasks
MaGe Linux Operations
MaGe Linux Operations
Jun 1, 2018 · Fundamentals

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

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

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

Top Python Interview Questions and Expert Answers Explained

This article compiles over ten essential Python interview questions covering memory management, lambda functions, data structure conversions, duplicate removal, sorting techniques, object copying, exception handling, pass statements, range usage, regex operations, random number generation, static analysis tools, global variables, and string quoting conventions.

Lambdacoding interviewinterview
0 likes · 11 min read
Top Python Interview Questions and Expert Answers Explained
MaGe Linux Operations
MaGe Linux Operations
Feb 1, 2018 · Fundamentals

Master Python Functions: From Basics to Advanced Parameter Tricks

This article provides a comprehensive guide to Python functions, covering basic definitions, various parameter types—including default, positional, keyword, variable arguments and keyword‑only parameters—common pitfalls, recursion, lambda expressions, and best practices for clean, reusable code.

LambdaPythonRecursion
0 likes · 14 min read
Master Python Functions: From Basics to Advanced Parameter Tricks
MaGe Linux Operations
MaGe Linux Operations
Aug 29, 2017 · Fundamentals

Top 11 Python Interview Questions and Hands‑On Code Solutions

This article presents eleven essential Python interview topics, covering quote usage, argument passing, lambda functions, string formatting, memory management, string reversal techniques, list merging, class variable behavior, slice handling, mutable default arguments, and tips for writing Pythonic code, each illustrated with clear examples.

Code ExamplesLambdaMemory Management
0 likes · 4 min read
Top 11 Python Interview Questions and Hands‑On Code Solutions
MaGe Linux Operations
MaGe Linux Operations
Jul 31, 2017 · Backend Development

Top 17 Python Interview Questions Every Backend Engineer Should Master

This article compiles essential Python interview questions covering language basics, data structures, memory management, modules, web frameworks, HTTP protocols, testing, and deployment, providing concise explanations and practical code snippets to help developers assess and improve their technical expertise.

Lambdainterview
0 likes · 14 min read
Top 17 Python Interview Questions Every Backend Engineer Should Master
Tencent TDS Service
Tencent TDS Service
May 25, 2017 · Mobile Development

Why Kotlin’s First-Class Status Transforms Android Development

Google’s 2017 I/O announcement made Kotlin a first‑class Android language, and this article explores how Kotlin’s Java interoperability, lambda support, coroutines, and null‑safety can reshape Android development, while also critiquing legacy utility classes and encouraging developers to adopt modern Kotlin features.

AndroidKotlinLambda
0 likes · 6 min read
Why Kotlin’s First-Class Status Transforms Android Development
MaGe Linux Operations
MaGe Linux Operations
Apr 2, 2017 · Fundamentals

Master Python Functions: Definitions, Scope, Closures, and Lambdas Explained

This article explains Python functions in depth, covering their definition with def, parameter handling including default, variable-length, and keyword arguments, the role of return statements, scope rules, inner functions and closures, anonymous lambda expressions, and the built‑in filter function, illustrated with clear diagrams.

LambdaPythonclosures
0 likes · 7 min read
Master Python Functions: Definitions, Scope, Closures, and Lambdas Explained
21CTO
21CTO
Feb 20, 2016 · Fundamentals

What’s the Real Difference Between Lambdas and Closures in Java?

This article explains the distinct concepts of lambdas and closures, illustrates how Java historically handled closures, shows Python lambda behavior, and discusses the implications of variable capture and finality in Java 8 lambda expressions.

LambdaPythonfunctional programming
0 likes · 5 min read
What’s the Real Difference Between Lambdas and Closures in Java?
Qunar Tech Salon
Qunar Tech Salon
Dec 11, 2014 · Backend Development

Pitfalls of Java 8 Parallel Streams, Lambdas, Default Methods, and Jigsaw

The article examines how Java 8 features such as parallel streams, lambda expressions, default methods, and the Jigsaw module system can unintentionally degrade performance, increase code complexity, and introduce compatibility issues, urging developers to understand their underlying mechanisms before adoption.

Default MethodsLambdaParallel Streams
0 likes · 8 min read
Pitfalls of Java 8 Parallel Streams, Lambdas, Default Methods, and Jigsaw