Tagged articles
mutable
15 articles · Page 1 of 1
The article debunks the claim that C++23’s deducing this rewrites the ABI, showing that the this pointer has always been the first register argument, while the new explicit object parameter introduces only symbol‑level changes, const‑propagation nuances, mutable pitfalls, and a copy‑by‑value overhead for large objects.
ABIC++23Itanium C++ ABI
0 likes · 11 min read

This article explains why returning multiple values in Java can be cumbersome, introduces Apache Commons Lang3’s Pair and Triple utilities—including mutable and immutable variants—shows how to add the Maven dependency, and provides clear code examples that demonstrate their creation, modification, and safe usage in real‑world scenarios.
Apache Commons Lang3ImmutableJava
0 likes · 14 min read

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

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.
ImmutableListmutable
0 likes · 9 min read

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.
ConcurrencyImmutablePython
0 likes · 9 min read

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.
Generic TypesTypeScriptfunction overload
0 likes · 8 min read

This article explains Python’s core principle that everything is an object, detailing the distinction between type objects, instance objects, and metaclasses, how built‑in types like int and str fit into the hierarchy, the role of the object base class, variable naming as pointers, and the differences between mutable, immutable, fixed‑length and variable‑length objects.
ImmutablePythonmemory management
0 likes · 23 min read

This article explores Python’s core concept that everything is an object, explaining how variables reference objects, the role of the id() and type() functions, and the differences between mutable and immutable objects with practical code examples.
ImmutableObjectsPython
0 likes · 8 min read

This article lists the ten most common errors Java developers make, explains why each is problematic, and provides clear code examples and best‑practice alternatives to help you write safer, more efficient Java code.
HashMapImmutableJava
0 likes · 11 min read

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.
ImmutableReactReactivity
0 likes · 9 min read

This article explains Python's object model, the difference between mutable and immutable objects, how references work, and provides clear examples of shallow and deep copying—including when each method should be used to avoid unintended data modification.
Deep CopyImmutablePython
0 likes · 11 min read

This article introduces Scala's collection library, explaining the distinction between mutable and immutable collections and detailing common types such as List, Set, Map, Tuple, Option, and Iterator, accompanied by example code for each.
ImmutableListOption
0 likes · 3 min read

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.
ImmutableObjectsid()
0 likes · 8 min read

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.
Deep CopyImmutableMemory
0 likes · 4 min read

This article explains the difference between immutable and mutable objects in Python, using clear examples to show why modifying a list parameter inside a function changes the original variable while altering a number does not, helping beginners master function arguments and avoid common interview pitfalls.
ImmutableInterviewList
0 likes · 3 min read
