Tagged articles
8 articles
Page 1 of 1
Test Development Learning Exchange
Test Development Learning Exchange
Apr 9, 2024 · Fundamentals

Boltons Python Library: Deepcopy, Type Checking, Retry, OrderedDict, FrozenMap, LinkedList, ThreadSafeDeque, Chunked, String Conversion, and Timeout Decorator

This article introduces the Boltons Python library and demonstrates how to use its utilities—including deep copy, enhanced type checking, configurable retry, ordered dictionaries, immutable maps, linked lists, thread‑safe deques, data chunking, string‑byte conversion, and timeout decorators—to extend standard Python functionality.

DeepCopyRetryboltons
0 likes · 5 min read
Boltons Python Library: Deepcopy, Type Checking, Retry, OrderedDict, FrozenMap, LinkedList, ThreadSafeDeque, Chunked, String Conversion, and Timeout Decorator
Architecture Digest
Architecture Digest
Sep 21, 2023 · Backend Development

Using MapStruct for Efficient Bean Copying in Java Applications

This article explains why manual property copying in layered Java applications is inefficient, compares traditional approaches such as manual setters, Spring BeanUtils, and CGLIB BeanCopier, and demonstrates how MapStruct provides high‑performance, type‑safe, compile‑time generated mappers with support for deep copy, collection mapping, field ignoring, and Lombok integration.

BeanMappingCodeGenerationDeepCopy
0 likes · 10 min read
Using MapStruct for Efficient Bean Copying in Java Applications
Sanyou's Java Diary
Sanyou's Java Diary
Feb 7, 2022 · Backend Development

Understanding Shallow vs Deep Copy in Java: A Practical Cloneable Guide

This article explains the differences between shallow and deep copying in Java, illustrates how the Cloneable interface and the clone() method work, provides complete code examples for both copy types, and clarifies the concept of reference copying with diagrams and test outputs.

CloneableDeepCopyObjectCloning
0 likes · 4 min read
Understanding Shallow vs Deep Copy in Java: A Practical Cloneable Guide
Sohu Tech Products
Sohu Tech Products
Jan 26, 2022 · Mobile Development

Crash Caused by Mutating a Collection During Enumeration and the Mechanics of copy vs mutableCopy in Objective‑C

This article documents a runtime crash triggered by mutating an NSMutableSet while enumerating it, explains how the Objective‑C copy attribute works, demonstrates shallow and deep copy behavior for strings and collections, and provides low‑level source analysis of the copy implementation in the Apple runtime.

CrashDeepCopyMutableSet
0 likes · 14 min read
Crash Caused by Mutating a Collection During Enumeration and the Mechanics of copy vs mutableCopy in Objective‑C
Programmer DD
Programmer DD
May 30, 2021 · Backend Development

When to Prefer Spring BeanUtils Over Apache BeanUtils for Object Copying

This article explains the difference between shallow and deep copying in Java, compares Apache BeanUtils and Spring BeanUtils with code examples, highlights performance and safety concerns, and recommends using Spring BeanUtils or alternative libraries for efficient property transfer between objects.

ApacheBeanUtilsDeepCopy
0 likes · 10 min read
When to Prefer Spring BeanUtils Over Apache BeanUtils for Object Copying
Top Architect
Top Architect
Jan 17, 2021 · Backend Development

Object Copying in Java: Comparing Apache BeanUtils and Spring BeanUtils

This article explains the concepts of shallow and deep copying in Java, demonstrates how to use Apache BeanUtils and Spring BeanUtils for property copying between objects, compares their implementations and performance, and recommends alternative tools for efficient object mapping.

ApacheBeanUtilsDeepCopy
0 likes · 9 min read
Object Copying in Java: Comparing Apache BeanUtils and Spring BeanUtils
Programmer DD
Programmer DD
Jul 30, 2020 · Backend Development

When to Use Apache vs Spring BeanUtils for Java Object Copying

This article explains the differences between Apache BeanUtils and Spring BeanUtils for copying Java objects, covering shallow vs deep copy concepts, performance drawbacks of Apache's implementation, usage examples, and recommendations for alternative tools like CGLIB BeanCopier and Orika.

ApacheBeanUtilsDeepCopy
0 likes · 9 min read
When to Use Apache vs Spring BeanUtils for Java Object Copying