Tag

list

1 views collected around this technical thread.

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.

Kotlinbuilder-functionscollections
0 likes · 7 min read
Simplify Kotlin Collections Creation with buildList, buildSet, and buildMap
Python Programming Learning Circle
Python Programming Learning Circle
Jun 3, 2025 · Fundamentals

Python Built-in Data Structures: Lists, Sets, Dictionaries, and Tuples

This article introduces Python's core built‑in data structures—lists, sets, dictionaries, and tuples—explaining their characteristics, typical use cases, and providing clear code examples for creation, modification, and access.

Pythondata structuresdictionary
0 likes · 4 min read
Python Built-in Data Structures: Lists, Sets, Dictionaries, and Tuples
Python Programming Learning Circle
Python Programming Learning Circle
May 30, 2025 · Fundamentals

Comparison of Python Lists and Arrays: Features, Performance, and Use Cases

This article explains the differences between Python lists and NumPy arrays, covering their flexibility, data type constraints, performance characteristics, available operations, and appropriate scenarios to help developers choose the most efficient structure for their specific programming tasks.

NumPyPythonarray
0 likes · 8 min read
Comparison of Python Lists and Arrays: Features, Performance, and Use Cases
Top Architecture Tech Stack
Top Architecture Tech Stack
May 14, 2025 · Backend Development

Injecting List, Array, Set, and Map from Spring Configuration Files Using @Value and EL Expressions

This article explains how to store and inject collection types such as List, array, Set, and Map in Spring configuration files, demonstrates the pitfalls of using @Value directly, and provides practical solutions using @ConfigurationProperties, EL split functions, and custom decoders for flexible and safe property binding.

BackendConfigurationEL Expression
0 likes · 7 min read
Injecting List, Array, Set, and Map from Spring Configuration Files Using @Value and EL Expressions
Code Mala Tang
Code Mala Tang
May 3, 2025 · Fundamentals

When to Use Python Lists vs Tuples: A Practical Guide

This article explains the differences between Python lists and tuples, covering their definitions, mutable vs immutable nature, syntax, performance, common pitfalls, and best-use scenarios such as dynamic collections, fixed data, and dictionary keys, with clear code examples.

ImmutableMutablePython
0 likes · 9 min read
When to Use Python Lists vs Tuples: A Practical Guide
php中文网 Courses
php中文网 Courses
Mar 25, 2025 · Fundamentals

Common Python Data Structures: List, Tuple, Set, and Dictionary

This article introduces Python's four fundamental data structures—list, tuple, set, and dictionary—explaining their characteristics, creation syntax, and typical operations to help readers choose the appropriate structure for different programming scenarios.

Pythondata structuresdictionary
0 likes · 8 min read
Common Python Data Structures: List, Tuple, Set, and Dictionary
Code Mala Tang
Code Mala Tang
Mar 1, 2025 · Fundamentals

Why Python’s deque Beats Lists for Fast Insertions: A Practical Guide

This article explains why Python lists are slow for head insertions and deletions, introduces the deque data structure from the collections module, compares their time complexities, and shows practical scenarios and code examples where deque provides superior performance and thread‑safety.

Pythonalgorithmdata structures
0 likes · 7 min read
Why Python’s deque Beats Lists for Fast Insertions: A Practical Guide
Test Development Learning Exchange
Test Development Learning Exchange
Feb 25, 2025 · Fundamentals

Comprehensive Guide to Python List Operations with Practical Examples

This article introduces Python lists, explains their core operations such as adding, removing, searching, sorting, and iterating, and provides ten detailed code examples that illustrate common use cases and scenarios for effective list manipulation.

Code ExamplesProgramming Tutorialdata structures
0 likes · 7 min read
Comprehensive Guide to Python List Operations with Practical Examples
Test Development Learning Exchange
Test Development Learning Exchange
Jan 18, 2025 · Fundamentals

Understanding Python Comprehensions: Lists, Sets, Dictionaries, Nested and Generator Expressions

Python comprehensions provide concise syntax for creating lists, sets, dictionaries, nested structures, and generator expressions, allowing developers to replace explicit loops and conditional logic with readable one‑liner constructs, as illustrated with practical code examples and guidance on their appropriate use.

GeneratorProgrammingcomprehensions
0 likes · 6 min read
Understanding Python Comprehensions: Lists, Sets, Dictionaries, Nested and Generator Expressions
Architecture Digest
Architecture Digest
Dec 4, 2024 · Fundamentals

Avoid the Hidden Pitfall of Arrays.asList(): Fixed‑Length List and UnsupportedOperationException

This article explains why using Java's Arrays.asList to convert an array into a List can cause UnsupportedOperationException when modifying the list, illustrates the underlying implementation details, and provides a safe solution using java.util.ArrayList to prevent serious runtime failures.

ArrayListArrays.asListBest Practices
0 likes · 9 min read
Avoid the Hidden Pitfall of Arrays.asList(): Fixed‑Length List and UnsupportedOperationException
Test Development Learning Exchange
Test Development Learning Exchange
Oct 1, 2024 · Fundamentals

Python Data Type Conversions: str ↔ list ↔ JSON and Common Transformations

This article explains how to convert between strings, lists, dictionaries, and JSON in Python using ast.literal_eval, json.loads, and json.dumps, and demonstrates practical applications such as API response handling in automation testing.

Data ConversionJSON__str__
0 likes · 6 min read
Python Data Type Conversions: str ↔ list ↔ JSON and Common Transformations
Test Development Learning Exchange
Test Development Learning Exchange
Sep 21, 2024 · Fundamentals

Python List Operations: Sorting, Traversing, Deleting, Adding, Modifying, Indexing, and Basic List Functions

This tutorial demonstrates essential Python list operations, covering case‑sensitive and case‑insensitive sorting, reverse ordering, iteration with for and while loops, element removal by value or index, clearing, appending, inserting, extending, item modification, slicing, indexing, length checking, and mixed‑type lists, all illustrated with clear code examples.

BasicsCRUDIteration
0 likes · 5 min read
Python List Operations: Sorting, Traversing, Deleting, Adding, Modifying, Indexing, and Basic List Functions
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 7, 2024 · Databases

Understanding Redis Data Types and Their Underlying Implementations

This article explains the internal structures of Redis data types—including strings, lists, sets, hashes, and sorted sets—detailing their memory representations, evolution across versions, time‑complexity characteristics, and the code implementations that enable efficient in‑memory operations.

Memory DatabaseRedisdata structures
0 likes · 16 min read
Understanding Redis Data Types and Their Underlying Implementations
Test Development Learning Exchange
Test Development Learning Exchange
Aug 25, 2024 · Fundamentals

Common Python List Operations: Sorting, Filtering, Searching, Merging, and More

This article demonstrates ten practical Python list techniques—including sorting by ID, filtering by condition, locating elements, removing items, merging lists, finding intersections and differences, converting to dictionaries, using list comprehensions, and deduplicating—each illustrated with clear code examples and expected output.

Searchingfilteringlist
0 likes · 6 min read
Common Python List Operations: Sorting, Filtering, Searching, Merging, and More
Test Development Learning Exchange
Test Development Learning Exchange
May 20, 2024 · Fundamentals

Understanding Python List Indexing and Slicing

This article explains Python's list data structure, covering forward and negative indexing as well as slice operations, and provides multiple code examples demonstrating element access, sub‑list extraction, list copying, reversal, and stepwise selection.

IndexingTutoriallist
0 likes · 4 min read
Understanding Python List Indexing and Slicing
Test Development Learning Exchange
Test Development Learning Exchange
Apr 30, 2024 · Fundamentals

Understanding Python Comprehensions: Lists, Dictionaries, Sets, and Generators with Examples

Python comprehensions provide a concise, powerful way to create new data structures—lists, dictionaries, sets, and generators—from existing iterables, combining loops and conditional logic, and the article explains their syntax, usage, and includes practical code examples for dynamic parameter construction, data analysis, and testing scenarios.

CodeGeneratorPython
0 likes · 7 min read
Understanding Python Comprehensions: Lists, Dictionaries, Sets, and Generators with Examples
Python Programming Learning Circle
Python Programming Learning Circle
Apr 18, 2024 · Fundamentals

Four Time‑Saving Python Tricks to Boost Execution Speed

This article presents four practical Python techniques—including list reversal, tuple swapping, loop placement, and function‑call reduction—that together can shave roughly 10‑20% off typical script execution times while keeping the code clear and maintainable.

CodeLooplist
0 likes · 7 min read
Four Time‑Saving Python Tricks to Boost Execution Speed
Java Tech Enthusiast
Java Tech Enthusiast
Feb 22, 2024 · Backend Development

Common Pitfalls of Arrays.asList in Java

When converting arrays to lists in Java, Arrays.asList cannot handle primitive arrays (treating them as a single element), returns a fixed‑size view that disallows add or remove operations, and shares its backing array so modifications affect both structures, so developers should use boxed streams or copy into a new ArrayList.

Arrays.asListBackendJava
0 likes · 4 min read
Common Pitfalls of Arrays.asList in Java
Architect's Guide
Architect's Guide
Feb 20, 2024 · Backend Development

Null Checks and Optional Usage in Java

This article explains common null‑checking techniques for objects, Lists, and Strings in Java, introduces the Optional class with its creation methods and typical usage scenarios, and compares various utility libraries to help avoid NullPointerException in real‑world projects.

Best PracticesJavaOptional
0 likes · 6 min read
Null Checks and Optional Usage in Java