Tagged articles
10 articles
Page 1 of 1
Architect Chen
Architect Chen
Dec 28, 2025 · Fundamentals

Mastering Deep Copy in JavaScript: Why It Matters and How to Implement It

This article explains what deep copy is, why it is essential for avoiding side‑effects in mutable data structures, outlines its practical benefits such as safe snapshots and independent cloning of complex objects, and provides a complete JavaScript implementation that handles primitives, circular references, and special built‑in types.

Immutable DataRecursioncloning
0 likes · 4 min read
Mastering Deep Copy in JavaScript: Why It Matters and How to Implement It
IT Services Circle
IT Services Circle
Feb 14, 2022 · Fundamentals

Six Ways to Create Objects in Java

This article presents six Java object‑creation techniques—including direct instantiation, cloning, reflection‑based allocation, dynamic class loading, constructor invocation via reflection, and deserialization—explaining each method with code examples and practical notes for developers.

JavaLombokObject Creation
0 likes · 7 min read
Six Ways to Create Objects in Java
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Apr 14, 2021 · Backend Development

Various Ways to Create Objects in Java: new, newInstance, Reflection, Cloning, and Deserialization

This article explains the multiple techniques for creating objects in Java—including the new operator, Class.newInstance, reflection with Constructor, cloning via Cloneable, and deserialization—while illustrating the underlying bytecode instructions and providing concrete code examples for each method.

DeserializationJavaObject Creation
0 likes · 8 min read
Various Ways to Create Objects in Java: new, newInstance, Reflection, Cloning, and Deserialization
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Aug 4, 2020 · Fundamentals

Understanding the Prototype Design Pattern in Java

The article explains the Prototype design pattern in Java, covering its definition, class diagram, implementation with Cloneable, shallow vs deep copying, advantages, use cases, Spring prototype scope, and provides complete code examples illustrating cloning of Sheep, Goat, and Lamb objects.

Design PatternsJavaPrototype Pattern
0 likes · 12 min read
Understanding the Prototype Design Pattern in Java
FunTester
FunTester
Dec 26, 2019 · Backend Development

Deep‑Copying HttpRequestBase in Java: A Custom FunRequest Wrapper

This article explains why a separate HttpRequestBase object is needed for each concurrent request in a performance testing framework, and provides a complete Java implementation of a FunRequest class that offers deep‑copy, cloning, and fluent configuration of GET/POST HTTP requests.

BackendHttpClientJava
0 likes · 8 min read
Deep‑Copying HttpRequestBase in Java: A Custom FunRequest Wrapper
Aikesheng Open Source Community
Aikesheng Open Source Community
Jul 23, 2019 · Databases

MySQL 8.0.17 Release Highlights: Cloning, JSON Multi‑Value Indexes, Optimizer Improvements, and More

MySQL 8.0.17 introduces server cloning via MySQL Shell, multi‑value indexes for JSON arrays, enhanced JSON schema validation, optimizer and Volcano iterator upgrades, new collations, replication and routing enhancements, plus numerous bug fixes and deprecations, all detailed in the official release notes.

JSON IndexRelease NotesReplication
0 likes · 8 min read
MySQL 8.0.17 Release Highlights: Cloning, JSON Multi‑Value Indexes, Optimizer Improvements, and More
Java Captain
Java Captain
Mar 31, 2018 · Fundamentals

Understanding Object Cloning in Java: Shallow vs Deep Copy

This article explains Java object cloning, detailing why cloning is needed, how to implement shallow and deep copies using the Cloneable interface and serialization, and provides comprehensive code examples illustrating the differences and pitfalls of reference copying.

CloneableJavacloning
0 likes · 15 min read
Understanding Object Cloning in Java: Shallow vs Deep Copy