Tagged articles
14 articles
Page 1 of 1
Java Architect Handbook
Java Architect Handbook
Nov 22, 2025 · Fundamentals

Master Java’s Pair and Triple: Simplify Multi‑Value Returns with Apache Commons Lang3

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
Master Java’s Pair and Triple: Simplify Multi‑Value Returns with Apache Commons Lang3
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.

ImmutableListMutable
0 likes · 9 min read
When to Use Python Lists vs Tuples: A Practical Guide
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.

Generic TypesMutableType Inference
0 likes · 8 min read
Implementing a Zip Function in TypeScript with Advanced Type Inference
MaGe Linux Operations
MaGe Linux Operations
Jan 15, 2021 · Fundamentals

Why Everything in Python Is an Object: Unraveling Types, Instances, and Metaclasses

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.

ImmutableMemory ManagementMutable
0 likes · 23 min read
Why Everything in Python Is an Object: Unraveling Types, Instances, and Metaclasses
Programmer DD
Programmer DD
Nov 25, 2019 · Fundamentals

Top 10 Java Mistakes Every Developer Should Avoid

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.

ArrayListCollectionsHashMap
0 likes · 11 min read
Top 10 Java Mistakes Every Developer Should Avoid
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
MaGe Linux Operations
MaGe Linux Operations
Mar 28, 2019 · Fundamentals

Master Python Shallow vs Deep Copy: When and How to Use Them

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.

ImmutableMutablePython
0 likes · 11 min read
Master Python Shallow vs Deep Copy: When and How to Use Them
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.

ImmutableMutableObjects
0 likes · 8 min read
Understanding Python's id() Function and Parameter Passing Mechanics