Tagged articles
7 articles
Page 1 of 1
Data STUDIO
Data STUDIO
Nov 20, 2025 · Backend Development

12 Must‑Try Pydantic v2 Model Patterns for Safer Python Code

This guide presents twelve practical Pydantic v2 patterns—from a base DTO and snake/camel case handling to computed fields, immutable objects, configuration management, and endpoint protection—showing concrete code examples and a complete data‑ingestion pipeline that demonstrates how each pattern improves validation, serialization, and overall robustness in Python projects.

Computed FieldConfigurationEndpoint Protection
0 likes · 17 min read
12 Must‑Try Pydantic v2 Model Patterns for Safer Python Code
Test Development Learning Exchange
Test Development Learning Exchange
Feb 11, 2025 · Fundamentals

Understanding Python Parameter Passing Mechanisms and Argument Types

Python uses a pass‑by‑object‑reference model, meaning functions receive references to objects; this article explains how mutable and immutable objects behave under this model, describes positional, keyword, default, *args and **kwargs argument types, and provides code examples illustrating each case.

Function ArgumentsImmutable ObjectsPass by Reference
0 likes · 4 min read
Understanding Python Parameter Passing Mechanisms and Argument Types
JD Retail Technology
JD Retail Technology
Oct 19, 2023 · Fundamentals

Java Naming Conventions, Code Comments, and Advanced Language Features

This article explores the trade‑offs between efficiency, readability and maintainability in software development, presents common naming conventions and best‑practice guidelines for Java, discusses proper use of comments, and introduces advanced language constructs such as records, sealed classes and the upcoming Valhalla project.

Immutable ObjectsJavaSealed Classes
0 likes · 29 min read
Java Naming Conventions, Code Comments, and Advanced Language Features
Byte Quality Assurance Team
Byte Quality Assurance Team
Oct 13, 2021 · Fundamentals

Understanding Python Object Assignment, Mutable vs. Immutable Types, and Shallow vs. Deep Copying

This article provides a comprehensive guide to Python's memory management and object assignment mechanisms, clearly explaining the differences between mutable and immutable objects, direct assignment, shallow copying, and deep copying through practical code examples and visual diagrams.

Data StructuresImmutable ObjectsPython Programming
0 likes · 7 min read
Understanding Python Object Assignment, Mutable vs. Immutable Types, and Shallow vs. Deep Copying
Python Crawling & Data Mining
Python Crawling & Data Mining
Feb 20, 2021 · Fundamentals

Unlock Python’s Speed: Master dict and set for Fast Data Lookup

This article explains Python’s built-in dict and set structures, comparing them with lists, demonstrating their fast key-value lookups, handling missing keys, and common operations like insertion, deletion, and set algebra, while providing clear code examples and practical tips for effective use.

Data StructuresImmutable ObjectsPython
0 likes · 9 min read
Unlock Python’s Speed: Master dict and set for Fast Data Lookup
Programmer DD
Programmer DD
Aug 8, 2019 · Backend Development

Why Overriding hashCode and equals Is Critical: Avoid Memory Leaks and Bucket Chaos in Java

This article explains the contract between hashCode() and equals() in Java, shows the problems caused by violating it—such as incorrect behavior in HashMap/HashSet and memory leaks—and provides practical guidelines and code examples for implementing robust hashCode methods, including the use of Apache's HashCodeBuilder.

HashMapImmutable ObjectsJava
0 likes · 15 min read
Why Overriding hashCode and equals Is Critical: Avoid Memory Leaks and Bucket Chaos in Java