Tagged articles
134 articles
Page 1 of 2
AI Engineer Programming
AI Engineer Programming
Apr 20, 2026 · Artificial Intelligence

Evaluating Retriever Quality in RAG: Essential Metrics for Production Reliability

The article explains why retrieval quality dominates RAG performance and outlines a rigorous evaluation framework—including prompt, ranked results, and ground‑truth annotations—and detailed metrics such as Precision, Recall, MAP@K, NDCG@K, MRR, and F‑scores, while discussing chunking strategies, embedding choices, hybrid retrieval, and CI/CD‑driven monitoring to ensure production reliability.

LLMMAPNDCG
0 likes · 12 min read
Evaluating Retriever Quality in RAG: Essential Metrics for Production Reliability
Code Wrench
Code Wrench
Sep 15, 2025 · Fundamentals

Master Go Maps: Deep Dive into Internals, Tricks, and Real-World Use Cases

This article explores Go's map type in depth, covering its underlying hash table mechanics, key requirements, concurrency considerations, and a comprehensive set of practical techniques—including existence checks, JSON conversion, sorting, slicing, multi-dimensional maps, and real-world examples for analytics and log processing.

GoJSONMAP
0 likes · 10 min read
Master Go Maps: Deep Dive into Internals, Tricks, and Real-World Use Cases
Code Ape Tech Column
Code Ape Tech Column
Sep 8, 2025 · Backend Development

How to Implement Data Desensitization with YAML and Java Maps

This article explains a step‑by‑step approach to mask sensitive fields in API responses by defining desensitization rules in YAML, loading them into Java Maps, and applying recursive logic to traverse nested structures and replace data using regular expressions.

MAPYAMLdata desensitization
0 likes · 22 min read
How to Implement Data Desensitization with YAML and Java Maps
php Courses
php Courses
Aug 27, 2025 · Fundamentals

Mastering C++ STL: Vectors, Maps, and Sort with Real-World Examples

This tutorial explains the core components of the C++ Standard Template Library—vector, map, and sort—showing their basic usage, generic capabilities, and how they can be combined in practical code examples such as product sorting and a word‑frequency counter.

CMAPSTL
0 likes · 12 min read
Mastering C++ STL: Vectors, Maps, and Sort with Real-World Examples
JavaScript
JavaScript
Aug 25, 2025 · Frontend Development

Switch Statements Break the Open/Closed Principle – Use Objects or Maps Instead

The article explains why traditional switch statements violate the Open/Closed principle in JavaScript, outlines the maintenance problems they cause in large front‑end codebases, and demonstrates how object literals or Map structures provide cleaner, more extensible alternatives.

MAPOpen/Closed Principlecode maintainability
0 likes · 5 min read
Switch Statements Break the Open/Closed Principle – Use Objects or Maps Instead
IT Services Circle
IT Services Circle
Jul 20, 2025 · Fundamentals

Master Student Geographic Aggregation in Java with Nested Maps

This article explains how to solve the Student Geographic Information Report problem by defining a Student class, using three‑level nested Java Maps for province‑city‑district grouping, and implementing aggregation and ranking logic to count students per region and identify the city with the most students.

Geographic InformationJavaMAP
0 likes · 6 min read
Master Student Geographic Aggregation in Java with Nested Maps
AndroidPub
AndroidPub
Jun 13, 2025 · Fundamentals

Simplify Kotlin Collections Creation with buildList, buildSet, and buildMap

This article explains how Kotlin's standard library provides concise builder functions such as buildList, buildSet, buildMap, and buildString to create immutable collections and strings efficiently, reducing boilerplate and eliminating lambda overhead while offering specialized variants for primitive types.

CollectionsKotlinList
0 likes · 7 min read
Simplify Kotlin Collections Creation with buildList, buildSet, and buildMap
JavaScript
JavaScript
May 5, 2025 · Frontend Development

Replace Switch Statements with Object Maps and ES6 Map for Cleaner JavaScript

Modern JavaScript offers more elegant alternatives to traditional if‑else and switch statements, such as using object literals for simple mappings and the ES6 Map structure for complex or dynamic key‑value logic, resulting in shorter, less error‑prone, and more maintainable code.

Code OptimizationJavaScriptMAP
0 likes · 4 min read
Replace Switch Statements with Object Maps and ES6 Map for Cleaner JavaScript
JavaScript
JavaScript
Apr 29, 2025 · Frontend Development

Replace Switch Statements with Object Maps for Cleaner JavaScript

Learn how modern JavaScript lets you replace verbose if‑else and switch statements with concise object literal mappings and the powerful ES6 Map structure, improving readability, reducing errors, and simplifying maintenance for both simple and complex branching logic.

JavaScriptMAPobject literal
0 likes · 4 min read
Replace Switch Statements with Object Maps for Cleaner JavaScript
php Courses
php Courses
Apr 3, 2025 · Fundamentals

Understanding Higher-Order Functions in Python

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

MAPPythonclosures
0 likes · 6 min read
Understanding Higher-Order Functions in Python
Java Tech Enthusiast
Java Tech Enthusiast
Mar 4, 2025 · Fundamentals

Java 8 Map API Enhancements

Java 8 enriches the Map interface with default methods such as getOrDefault, forEach, merge, putIfAbsent, compute, computeIfAbsent, computeIfPresent and replace, allowing developers to retrieve values with fallbacks, iterate entries, combine or conditionally update entries, and thus write more concise, readable code with far less boilerplate.

APICollectionsJDK8
0 likes · 9 min read
Java 8 Map API Enhancements
JavaScript
JavaScript
Feb 26, 2025 · Frontend Development

Master JavaScript Array Methods: From map to flatMap

This guide explains how JavaScript’s built‑in array methods—such as map, filter, reduce, forEach, find, some, every, includes, flat, flatMap, findIndex, and slice—can replace nested loops, improve readability, and enable powerful method chaining for concise, efficient data manipulation.

JavaScriptMAParray methods
0 likes · 7 min read
Master JavaScript Array Methods: From map to flatMap
Go Programming World
Go Programming World
Feb 11, 2025 · Backend Development

Deep Dive into Go's sync.Map: Implementation, Usage, and Performance

An in‑depth exploration of Go’s sync.Map reveals its concurrent map implementation, covering core structures, read‑only and dirty maps, entry states, and detailed walkthroughs of Store, Load, Delete, Range, Clear, and advanced operations like LoadOrStore, CompareAndSwap, and CompareAndDelete with code examples.

GoMAPconcurrency
0 likes · 30 min read
Deep Dive into Go's sync.Map: Implementation, Usage, and Performance
Java Tech Enthusiast
Java Tech Enthusiast
Feb 1, 2025 · Backend Development

Optimizing Nested Loops in Java with Map and Break

To avoid the O(n × m) cost of naïve nested loops when matching IDs, replace the inner scan with a break after a unique match or, far more efficiently, build a HashMap of the secondary list so each lookup becomes O(1), dropping overall complexity to O(n + m) and cutting execution time from tens of seconds to a few hundred milliseconds.

HashMapJavaMAP
0 likes · 8 min read
Optimizing Nested Loops in Java with Map and Break
JavaScript
JavaScript
Dec 25, 2024 · Frontend Development

7 Essential JavaScript Array Methods Every Developer Should Master

This guide explores seven powerful JavaScript array methods—map, filter, reduce, forEach, find, some, and every—detailing their syntax, practical examples, performance tips, and how to combine them for efficient data manipulation in modern web development.

JavaScriptMAParray methods
0 likes · 9 min read
7 Essential JavaScript Array Methods Every Developer Should Master
Top Architect
Top Architect
Dec 20, 2024 · Backend Development

Optimizing Nested Loops in Java Using Map for Faster ID Matching

This article demonstrates how to replace inefficient nested for‑loops that match user IDs between two large lists with a map‑based lookup, showing code examples, performance measurements, and the impact of using break statements and O(1) hash map access to dramatically reduce execution time.

JavaMAPNested Loop
0 likes · 9 min read
Optimizing Nested Loops in Java Using Map for Faster ID Matching
ITPUB
ITPUB
Nov 22, 2024 · Backend Development

Master Java Collection Conversions with 10 Stream Utility Methods

This article presents a set of ten Java Stream‑based utility methods that simplify converting between Collection, List, Set, and Map types, showing practical examples, test cases, and reusable implementations for common data‑mapping scenarios.

CollectionConversionJava
0 likes · 11 min read
Master Java Collection Conversions with 10 Stream Utility Methods
macrozheng
macrozheng
Nov 14, 2024 · Backend Development

Master Java’s New Map Methods: getOrDefault, forEach, merge & More

Learn how Java 8 introduced powerful Map methods such as getOrDefault, forEach, merge, putIfAbsent, compute, computeIfAbsent, computeIfPresent, and replace, with clear code examples that show how they simplify common tasks like default value handling, iteration, merging entries, and conditional updates.

Backend DevelopmentCode TutorialJDK8
0 likes · 10 min read
Master Java’s New Map Methods: getOrDefault, forEach, merge & More
Architecture Digest
Architecture Digest
Oct 31, 2024 · Backend Development

Java 8 Map New Methods: getOrDefault, forEach, merge, putIfAbsent, compute, computeIfAbsent, computeIfPresent, replace

This article introduces the Java 8 Map API enhancements—including getOrDefault, forEach, merge, putIfAbsent, compute, computeIfAbsent, computeIfPresent, and replace—explaining their purpose, showing concise code examples, and demonstrating how they simplify common map‑handling scenarios.

CollectionsJDK8MAP
0 likes · 9 min read
Java 8 Map New Methods: getOrDefault, forEach, merge, putIfAbsent, compute, computeIfAbsent, computeIfPresent, replace
Code Mala Tang
Code Mala Tang
Oct 4, 2024 · Frontend Development

Which JavaScript Loop Is Fastest? Benchmark Results Revealed

This article benchmarks various JavaScript looping constructs—including for, while, do‑while, for‑of, forEach, map, filter, reduce, some, every, and find—by moving 50 million items between arrays and measuring execution time to determine the fastest approaches.

BenchmarkMAPfor loop
0 likes · 8 min read
Which JavaScript Loop Is Fastest? Benchmark Results Revealed
FunTester
FunTester
Sep 5, 2024 · Backend Development

Practical Java Streams Techniques: Filtering, Mapping, Reducing, and Grouping

This article introduces five practical Java Streams techniques—including precise filtering, map transformation, aggregation with reduce, and advanced grouping—to help developers write clearer, more efficient backend code, complete with code examples and explanations of each operation.

JavaMAPStreams
0 likes · 8 min read
Practical Java Streams Techniques: Filtering, Mapping, Reducing, and Grouping
Python Programming Learning Circle
Python Programming Learning Circle
Sep 3, 2024 · Fundamentals

Simplifying Python Parallelism with map and ThreadPool

This article explains why traditional Python multithreading tutorials are often overly complex, introduces the concise map‑based approach using multiprocessing and multiprocessing.dummy ThreadPool, demonstrates performance gains with real‑world examples, and provides ready‑to‑run code snippets for efficient parallel execution.

MAPParallelismmultiprocessing
0 likes · 10 min read
Simplifying Python Parallelism with map and ThreadPool
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
Test Development Learning Exchange
Test Development Learning Exchange
Aug 27, 2024 · Fundamentals

Introduction to Higher-Order Functions in Python

This article introduces Python's higher-order functions—including map, filter, reduce, partial, lambda, and related modules such as itertools, functools, contextlib, concurrent.futures, and decorator—explaining their concepts and demonstrating practical code examples for simplifying API testing and automation.

MAPPythonfilter
0 likes · 8 min read
Introduction to Higher-Order Functions in Python
Test Development Learning Exchange
Test Development Learning Exchange
Mar 16, 2024 · Fundamentals

Python Built-in Functions and Utilities

This article introduces 10 essential Python built-in functions and utilities including enumerate(), zip(), filter(), map(), sorted(), functools.partial(), itertools.combinations(), lambda, getattr()/setattr(), and reversed(), with practical code examples for each.

LambdaMAPPython
0 likes · 3 min read
Python Built-in Functions and Utilities
Python Programming Learning Circle
Python Programming Learning Circle
Nov 28, 2023 · Fundamentals

15 Concise Python Tips for More Efficient Coding

This article presents fifteen practical Python techniques—including multi‑key sorting, data classes, list comprehensions, memory inspection, frequency analysis, dictionary merging, multiple return values, filter/map/zip usage, list reversal, element existence checks, flattening nested lists, and uniqueness verification—to help developers write cleaner, faster, and more readable code.

Data ClassesMAPMemory Usage
0 likes · 9 min read
15 Concise Python Tips for More Efficient Coding
Python Programming Learning Circle
Python Programming Learning Circle
Nov 27, 2023 · Fundamentals

Six Practical Python Tricks: String Operations, List Comprehensions, Lambdas, Map, Conditional Expressions, and Zip

This article introduces six useful Python techniques—including string manipulation, list comprehensions, lambda functions, the map and zip utilities, and one‑line conditional expressions—showing concise code examples and explaining how each feature can simplify everyday programming tasks.

LambdaMAPPython
0 likes · 8 min read
Six Practical Python Tricks: String Operations, List Comprehensions, Lambdas, Map, Conditional Expressions, and Zip
Test Development Learning Exchange
Test Development Learning Exchange
Nov 20, 2023 · Fundamentals

Higher-Order Functions and Function Composition in Python with 10 Practical Examples

This article explains the core concepts of higher-order functions and function composition in functional programming, defines them, and provides ten practical Python code examples illustrating usage as parameters, return values, composition, and common utilities such as map, filter, reduce, list comprehensions, and functools.partial.

Higher-Order FunctionsMAPPython
0 likes · 4 min read
Higher-Order Functions and Function Composition in Python with 10 Practical Examples
Architecture & Thinking
Architecture & Thinking
Nov 13, 2023 · Fundamentals

Mastering Java Collections: From Interfaces to Iterators

This comprehensive guide explains Java's collection framework, covering the core interfaces Collection, List, Set, and Map, their abstract and concrete implementations, iterator mechanisms, and key differences that are essential for both interview preparation and real‑world backend development.

BackendCollectionsIterator
0 likes · 29 min read
Mastering Java Collections: From Interfaces to Iterators
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 5, 2023 · Frontend Development

Practical JavaScript Techniques: Maps, Sets, Array.from, Destructuring, API Integration, and Tree Conversion

This article shares practical JavaScript snippets for managing dictionaries with Map, deduplicating arrays using Set, constructing data with Array.from, applying destructuring patterns, merging API modules in Vue projects, and converting flat data into tree structures, providing clear examples and reusable code.

Array.fromDestructuringJavaScript
0 likes · 7 min read
Practical JavaScript Techniques: Maps, Sets, Array.from, Destructuring, API Integration, and Tree Conversion
Architecture Digest
Architecture Digest
Sep 1, 2023 · Backend Development

Replacing if‑else with Strategy Pattern and Map‑Based Functional Interfaces in a Java Coupon Service

The article demonstrates how to refactor a Java coupon‑distribution service by first applying the Strategy design pattern and then using a Map of lambda expressions to replace bulky if‑else or switch statements, improving maintainability and readability while discussing their respective trade‑offs.

BackendDesign PatternsFunctional Interface
0 likes · 7 min read
Replacing if‑else with Strategy Pattern and Map‑Based Functional Interfaces in a Java Coupon Service
Ctrip Technology
Ctrip Technology
Jun 29, 2023 · Mobile Development

Integrating Flutter Map Plugin in a FlutterBoost Hybrid Project: Architecture, Issues, and Solutions

This article explains how to integrate the Baidu map plugin into a FlutterBoost hybrid project, describes the PlatformView mechanism, analyzes rendering and thread‑synchronization details, and provides concrete solutions for iOS white‑screen, Android freeze, memory‑leak, custom markers and visible‑range problems.

FlutterBoostMAPMobile
0 likes · 18 min read
Integrating Flutter Map Plugin in a FlutterBoost Hybrid Project: Architecture, Issues, and Solutions
Code Ape Tech Column
Code Ape Tech Column
Jun 21, 2023 · Big Data

From Java Streams to Spark: Basic Big Data Operations Explained

This article demonstrates how developers familiar with Java Stream APIs can quickly grasp fundamental Spark operations—including map, flatMap, groupBy, and reduce—by translating stream examples into Spark code, providing complete code snippets, explanations of transformations versus actions, and practical tips for handling exceptions in distributed processing.

Big DataJava StreamMAP
0 likes · 24 min read
From Java Streams to Spark: Basic Big Data Operations Explained
37 Interactive Technology Team
37 Interactive Technology Team
Jun 15, 2023 · Backend Development

Concurrent Safety of Go Maps: Issues, Solutions, and Performance Comparison

Go maps are not safe for concurrent access, so programs can panic when multiple goroutines read and write the same map; to prevent this you can use sync.Once for immutable data, protect maps with sync.RWMutex, employ sharded locks via concurrent‑map, or use the built‑in sync.Map, each offering different performance trade‑offs depending on read/write ratios and concurrency level.

GoMAPRWMutex
0 likes · 13 min read
Concurrent Safety of Go Maps: Issues, Solutions, and Performance Comparison
MaGe Linux Operations
MaGe Linux Operations
Apr 4, 2023 · Backend Development

Boost Python Scripts with map() Parallelism: From Threads to ThreadPools

Python’s traditional multithreading tutorials often overcomplicate simple tasks, but by leveraging the built‑in map() function and the multiprocessing.dummy ThreadPool, developers can dramatically simplify and accelerate I/O‑bound and CPU‑bound scripts, reducing code from dozens of lines to just a few while achieving significant speedups.

MAPParallelismThreadPool
0 likes · 13 min read
Boost Python Scripts with map() Parallelism: From Threads to ThreadPools
Su San Talks Tech
Su San Talks Tech
Mar 28, 2023 · Backend Development

Unlock Powerful Map Operations with Guava: Table, BiMap, Multimap, RangeMap & More

This guide explores Guava's extended map utilities—including Table for two‑key maps, BiMap for bidirectional lookups, Multimap for multi‑value mappings, RangeMap for interval‑based keys, and ClassToInstanceMap for type‑safe instance storage—providing code examples, usage tips, and common pitfalls for Java developers.

BiMapGuavaJava
0 likes · 16 min read
Unlock Powerful Map Operations with Guava: Table, BiMap, Multimap, RangeMap & More
Java Architect Essentials
Java Architect Essentials
Aug 17, 2022 · Backend Development

Pitfalls and Solutions for Converting Java Beans to Maps

Converting Java beans to maps often leads to type loss and incorrect property names due to JSON frameworks and BeanUtils behavior, and this article examines those pitfalls, demonstrates them with code examples, analyzes underlying Java introspection mechanisms, and presents a Dubbo‑based solution to reliably preserve types and property names.

DubboJSONMAP
0 likes · 12 min read
Pitfalls and Solutions for Converting Java Beans to Maps
FunTester
FunTester
Aug 16, 2022 · Fundamentals

Unlock Groovy Maps: Quick Creation, Manipulation, and Powerful Operations

This guide demonstrates how to create, add, retrieve, delete, iterate, and filter Groovy Map objects using concise syntax, operator overloading, and built‑in APIs, providing clear code examples that boost testing efficiency compared to traditional Java approaches.

GroovyJavaMAP
0 likes · 5 min read
Unlock Groovy Maps: Quick Creation, Manipulation, and Powerful Operations
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jul 11, 2022 · Frontend Development

Design and Implementation of a Generic Map Component with Real‑time Heatmap Rendering Using ThreeJS

This article explains the motivation, architecture, and implementation details of a generic map component that supports real‑time heatmap rendering using ThreeJS, covering GIS layer protocols, canvas limitations, WebGL advantages, and code examples for creating radial gradients, instanced meshes, and custom shaders.

GISMAPWebGL
0 likes · 14 min read
Design and Implementation of a Generic Map Component with Real‑time Heatmap Rendering Using ThreeJS
Python Programming Learning Circle
Python Programming Learning Circle
Jun 20, 2022 · Fundamentals

Five Essential Python Tricks for Efficient Coding

This article introduces five practical Python tricks—including string manipulation, list comprehensions, lambda and map functions, single-line conditional expressions, and the zip function—providing concise examples and code snippets to help developers write cleaner, more efficient code.

MAPcode-tipsif-else
0 likes · 8 min read
Five Essential Python Tricks for Efficient Coding
Tencent Cloud Developer
Tencent Cloud Developer
Jun 13, 2022 · Backend Development

Analysis of Go's sync.Map Implementation: Design, Architecture, and Source Code Walkthrough

The article explains how Go’s sync.Map achieves high‑concurrency performance by maintaining a lock‑free read‑only snapshot in an atomic.Value and a mutex‑protected dirty map, detailing entry state transitions, miss‑driven promotion, and the Store, Load, and Delete operations that together avoid a global lock.

GoMAPconcurrency
0 likes · 18 min read
Analysis of Go's sync.Map Implementation: Design, Architecture, and Source Code Walkthrough
Tencent Cloud Developer
Tencent Cloud Developer
Jun 8, 2022 · Backend Development

Understanding Go Map and Slice Concurrency Safety and Parameter Passing

The article explains that Go maps and slices are not safe for concurrent reads or writes, describes how the runtime detects map violations, and recommends using sync.Mutex, sync.RWMutex, or sync.Map for maps and external synchronization for slices, while also clarifying that passing these reference types to functions shares underlying data unless explicitly copied.

GoMAPParameter Passing
0 likes · 12 min read
Understanding Go Map and Slice Concurrency Safety and Parameter Passing
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
JavaScript
JavaScript
Apr 15, 2022 · Frontend Development

How to Skip Elements in JavaScript Arrays Using flatMap

This article explains how JavaScript's map, filter, and especially flatMap methods can be used to transform arrays while selectively skipping or removing elements, offering concise code examples that demonstrate replacing separate map‑filter chains with a single flatMap call for cleaner, more efficient array processing.

ArrayMAPfilter
0 likes · 3 min read
How to Skip Elements in JavaScript Arrays Using flatMap
MaGe Linux Operations
MaGe Linux Operations
Jan 24, 2022 · Fundamentals

Discover Lucky Numbers in a List with a One‑Line Python Trick

This article explains the concept of “lucky numbers” in an integer list—where a number’s value equals its occurrence count—and walks through a Python solution that progressively uses set, count, map, zip, filter, lambda and sorted, culminating in a concise one‑liner implementation.

LambdaListMAP
0 likes · 8 min read
Discover Lucky Numbers in a List with a One‑Line Python Trick
Python Programming Learning Circle
Python Programming Learning Circle
Dec 21, 2021 · Fundamentals

Finding Lucky Numbers in a List Using Python: Step‑by‑Step with map, zip, filter and a One‑Liner

This tutorial explains how to solve the LeetCode "Lucky Numbers in a List" problem in Python by extracting unique elements, counting their occurrences with map and count, pairing them with zip, filtering with lambda, sorting the result, and finally compressing the whole logic into a single expressive line of code.

LambdaListMAP
0 likes · 8 min read
Finding Lucky Numbers in a List Using Python: Step‑by‑Step with map, zip, filter and a One‑Liner
FunTester
FunTester
Nov 19, 2021 · Backend Development

Simplify Complex JSON Creation in Java with Double‑Brace Initialization

When integrating a third‑party API, building deeply nested JSON structures can become cumbersome, but using Java's double‑brace initialization for maps and JSONObjects dramatically reduces boilerplate code while keeping the payload readable and maintainable.

BackendCode OptimizationJSON
0 likes · 5 min read
Simplify Complex JSON Creation in Java with Double‑Brace Initialization
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
Java High-Performance Architecture
Java High-Performance Architecture
Aug 3, 2021 · Frontend Development

Which JavaScript Loop Wins? A Speed and Use‑Case Battle of for, forEach, map, for…in and for…of

This article compares five JavaScript iteration constructs—classic for, forEach, map, for...in and for...of—explaining their origins, semantics, performance characteristics, and appropriate use‑cases, while providing concrete code examples and guidance on breaking, continuing, and avoiding common pitfalls.

JavaScriptMAPfor loop
0 likes · 12 min read
Which JavaScript Loop Wins? A Speed and Use‑Case Battle of for, forEach, map, for…in and for…of
MaGe Linux Operations
MaGe Linux Operations
Jul 6, 2021 · Fundamentals

Discover 5 Powerful Python Features You Might Be Missing

This article introduces five advanced Python features—lambda, map, filter, itertools, and generator functions—explaining their purpose, showing concise code examples, and demonstrating how they enable cleaner, more memory‑efficient programming.

Advanced FeaturesGeneratorsLambda
0 likes · 8 min read
Discover 5 Powerful Python Features You Might Be Missing
Python Programming Learning Circle
Python Programming Learning Circle
Jun 24, 2021 · Fundamentals

Understanding Functional Programming in Python: Concepts, Examples, and Techniques

This article explains functional programming concepts in Python, contrasting imperative and functional models, and demonstrates key techniques such as recursion, laziness, map, filter, reduce, lambda expressions, higher‑order functions, partial application, and comprehensions with clear code examples.

Higher-Order FunctionsLambdaMAP
0 likes · 15 min read
Understanding Functional Programming in Python: Concepts, Examples, and Techniques
Python Programming Learning Circle
Python Programming Learning Circle
Apr 2, 2021 · Fundamentals

Effective Python Parallelism with Thread Pools and the map() Function

This article critiques traditional Python threading tutorials and demonstrates how to replace verbose thread‑pool code with concise map‑based parallelism using multiprocessing and multiprocessing.dummy, providing practical examples, performance measurements, and guidelines for choosing pool sizes for I/O‑ and CPU‑bound tasks.

MAPParallelismconcurrency
0 likes · 11 min read
Effective Python Parallelism with Thread Pools and the map() Function
Amap Tech
Amap Tech
Feb 1, 2021 · Frontend Development

Realistic Lighting Rendering for 3D Building Elements in AMap JSAPI 2.0

The article explains how AMap JSAPI 2.0 achieves realistic 3‑D building lighting by applying the Blinn‑Phong model with ambient, diffuse and specular components, employing directional, point and spot lights together with a classic three‑point lighting setup—including a high‑altitude point light over the Oriental Pearl Tower—to produce depth‑rich, non‑flat visualizations.

3D renderingBlinn-PhongMAP
0 likes · 11 min read
Realistic Lighting Rendering for 3D Building Elements in AMap JSAPI 2.0