Tag

Mutable

0 views collected around this technical thread.

Code Ape Tech Column
Code Ape Tech Column
May 29, 2025 · Backend Development

Using Apache Commons Lang3 Pair and Triple Classes to Return Multiple Values in Java

Apache Commons Lang3 provides Pair and Triple classes that let Java developers return multiple related values without custom wrappers, offering immutable and mutable variants, easy Maven integration, and clear APIs for handling key‑value pairs and three‑element tuples, improving code readability and maintainability.

Apache Commons LangImmutableJava
0 likes · 15 min read
Using Apache Commons Lang3 Pair and Triple Classes to Return Multiple Values in Java
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.

Data StructuresImmutableMutable
0 likes · 9 min read
When to Use Python Lists vs Tuples: A Practical Guide
Code Mala Tang
Code Mala Tang
Apr 23, 2025 · Fundamentals

Why Everything Is an Object in Python: Understanding Mutable vs Immutable

This article explains Python’s core principle that every value is an object, detailing how identity, type, and value define objects, and contrasts mutable and immutable types through practical code examples, illustrating their impact on memory management, variable assignment, function arguments, and common pitfalls.

ImmutableMemory ManagementMutable
0 likes · 11 min read
Why Everything Is an Object in Python: Understanding Mutable vs Immutable
Test Development Learning Exchange
Test Development Learning Exchange
Nov 7, 2023 · Fundamentals

Mutable vs Immutable Types in Python and Their Use in Multithreaded Programming

This article explains the memory‑management differences between mutable and immutable Python objects, demonstrates how each type behaves with code examples, and shows how immutability improves thread safety while providing practical synchronization techniques for mutable data in concurrent programs.

ImmutableMutablePython
0 likes · 9 min read
Mutable vs Immutable Types in Python and Their Use in Multithreaded Programming
IT Services Circle
IT Services Circle
Jan 1, 2023 · Frontend Development

Implementing a Zip Function in TypeScript with Advanced Type Inference

This article walks through building a zip function that merges two arrays, adding basic TypeScript signatures, then demonstrates advanced generic type programming to infer exact tuple return types, handling readonly tuples, mutable mappings, and function overloads for precise type safety.

Function OverloadGeneric TypesMutable
0 likes · 8 min read
Implementing a Zip Function in TypeScript with Advanced Type Inference
Qunar Tech Salon
Qunar Tech Salon
Oct 9, 2019 · Frontend Development

Breaking the Framework Paradigm Debate

At a GitHub China meetup, the author reflects on Rich Harris’s critique of React, compares mutable versus immutable reactivity in Vue and React, examines functional programming foundations, and proposes a unified approach integrating mutable, immutable, and reactive patterns to transcend framework paradigm disputes.

ImmutableMutableReact
0 likes · 9 min read
Breaking the Framework Paradigm Debate
Test Development Learning Exchange
Test Development Learning Exchange
Jul 30, 2018 · Fundamentals

Understanding Python's id() Function and Parameter Passing Mechanics

This article explains Python's id() function, how objects and references work, and demonstrates parameter passing behavior with detailed code examples illustrating memory address handling for immutable and mutable types, including lists, integers, and strings, and clarifies why variable assignments may share the same address.

ImmutableMutablePython
0 likes · 8 min read
Understanding Python's id() Function and Parameter Passing Mechanics
360 Quality & Efficiency
360 Quality & Efficiency
Jun 13, 2018 · Fundamentals

Understanding Python Assignment, Shallow Copy, and Deep Copy

This article explains Python's variable storage model and demonstrates how assignment, shallow copy, and deep copy affect object references and memory addresses for immutable and mutable types, using string and list examples to illustrate the differences.

AssignmentImmutableMutable
0 likes · 4 min read
Understanding Python Assignment, Shallow Copy, and Deep Copy